mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-12 13:00:32 +00:00
Command annotations do not produce EIDs
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user