This commit is contained in:
Branimir Karadžić
2018-09-14 17:52:11 -07:00
parent 1216d050b1
commit f785d78496

View File

@@ -835,6 +835,7 @@ namespace bgfx { namespace d3d12
#if BX_PLATFORM_XBOXONE
m_device->SetDebugErrorFilterX(0x73EC9EAF, D3D12XBOX_DEBUG_FILTER_FLAG_DISABLE_BREAKS);
m_device->SetDebugErrorFilterX(0x8EC9B15C, D3D12XBOX_DEBUG_FILTER_FLAG_DISABLE_OUTPUT);
#endif // BX_PLATFORM_XBOXONE
if (BGFX_PCI_ID_NVIDIA != m_dxgi.m_adapterDesc.VendorId)
@@ -5867,6 +5868,11 @@ namespace bgfx { namespace d3d12
break;
}
}
else
{
samplerFlags[ii] = 0;
scratchBuffer.allocEmpty(srvHandle[ii]);
}
}
uint16_t samplerStateIdx = getSamplerState(samplerFlags, maxComputeBindings, _render->m_colorPalette);