mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-20 05:43:12 +01:00
D3D12: Fixed 37-gpudrivenrendering.
This commit is contained in:
@@ -5520,6 +5520,8 @@ data.NumQualityLevels = 0;
|
||||
m_batch.flush(m_commandList, true);
|
||||
kick();
|
||||
|
||||
commandListChanged = true;
|
||||
|
||||
view = key.m_view;
|
||||
currentPso = NULL;
|
||||
currentSamplerStateIdx = kInvalidHandle;
|
||||
@@ -5586,6 +5588,13 @@ data.NumQualityLevels = 0;
|
||||
PIX3_BEGINEVENT(m_commandList, D3DCOLOR_COMPUTE, viewName);
|
||||
}
|
||||
|
||||
commandListChanged = true;
|
||||
}
|
||||
|
||||
if (commandListChanged)
|
||||
{
|
||||
commandListChanged = false;
|
||||
|
||||
m_commandList->SetComputeRootSignature(m_rootSignature);
|
||||
ID3D12DescriptorHeap* heaps[] = {
|
||||
m_samplerAllocator.getHeap(),
|
||||
@@ -5751,10 +5760,7 @@ data.NumQualityLevels = 0;
|
||||
|
||||
if (wasCompute)
|
||||
{
|
||||
if (wasCompute)
|
||||
{
|
||||
wasCompute = false;
|
||||
}
|
||||
wasCompute = false;
|
||||
|
||||
if (BX_ENABLED(BGFX_CONFIG_DEBUG_PIX) )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user