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:
baldurk
2015-12-22 19:43:25 +01:00
parent 4d7f7fe357
commit b024786cc2
+3
View File
@@ -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
{