mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-20 08:50:39 +00:00
When doing a partial replay of a subsection, explicitly jump to each EID
* The reason being that the actual recorded events are interleaved with others (either on the queue or the cmd buffer), so we have to skip over those. The events are duplicated where they are inserted by EID and refer to the original offsets.
This commit is contained in:
@@ -1287,6 +1287,9 @@ void WrappedVulkan::ContextReplayLog(LogState readType, uint32_t startEventID, u
|
||||
if(m_LastCmdBufferID == ResourceId() || startEventID > 1)
|
||||
{
|
||||
m_RootEventID++;
|
||||
|
||||
if(startEventID > 1)
|
||||
m_pSerialiser->SetOffset(GetEvent(m_RootEventID).fileOffset);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user