Command annotations do not produce EIDs

This commit is contained in:
baldurk
2026-03-11 22:26:54 +00:00
parent c2147b0233
commit faf3e01248
2 changed files with 4 additions and 2 deletions
+2 -1
View File
@@ -1335,7 +1335,8 @@ 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)
{
m_Cmd.m_RootEventID++;
if(context != D3D12Chunk::SetCommandAnnotation)
m_Cmd.m_RootEventID++;
if(startEventID > 1)
ser.GetReader()->SetOffset(GetEvent(m_Cmd.m_RootEventID).fileOffset);
+2 -1
View File
@@ -4079,7 +4079,8 @@ RDResult WrappedVulkan::ContextReplayLog(CaptureState readType, uint32_t startEv
// boundaries, the event IDs would no longer match up).
if(m_LastCmdBufferID == ResourceId() || startEventID > 1)
{
m_RootEventID++;
if(chunktype != VulkanChunk::SetCommandAnnotation)
m_RootEventID++;
if(startEventID > 1)
ser.GetReader()->SetOffset(GetEvent(m_RootEventID).fileOffset);