mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-07-17 04:57:09 +00:00
Make sure to apply barriers while executing - wrong state check
This commit is contained in:
@@ -318,7 +318,7 @@ bool WrappedID3D12GraphicsCommandList::Serialise_ResourceBarrier(UINT NumBarrier
|
||||
m_Cmd->m_LastCmdListID = CommandList;
|
||||
|
||||
vector<D3D12_RESOURCE_BARRIER> filtered;
|
||||
if(m_State <= READING)
|
||||
if(m_State <= EXECUTING)
|
||||
{
|
||||
filtered.reserve(num);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user