Fix EID counting when using D3D12 Queue Annotations

This commit is contained in:
Jake Turner
2026-06-01 11:23:33 +01:00
parent 0f3d7965e3
commit ed795ee56f
+1 -1
View File
@@ -1335,7 +1335,7 @@ RDResult WrappedID3D12CommandQueue::ReplayLog(CaptureState readType, uint32_t st
// boundaries, the event IDs would no longer match up).
if(m_Cmd.m_LastCmdListID == ResourceId() || startEventID > 1)
{
if(context != D3D12Chunk::SetCommandAnnotation)
if(context != D3D12Chunk::SetQueueAnnotation)
m_Cmd.m_RootEventID++;
if(startEventID > 1)