mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
Add a single-flush-validate flush after each initial state application
This commit is contained in:
@@ -1011,6 +1011,11 @@ void D3D12ResourceManager::Apply_InitialState(ID3D12DeviceChild *live, InitialCo
|
||||
list->ResourceBarrier((UINT)barriers.size(), &barriers[0]);
|
||||
|
||||
list->Close();
|
||||
|
||||
#if defined(SINGLE_FLUSH_VALIDATE)
|
||||
m_Device->ExecuteLists();
|
||||
m_Device->FlushLists(true);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user