Fix vulkan structured export, don't call frame terminator

This commit is contained in:
baldurk
2018-05-02 20:59:31 +01:00
parent 6258f031da
commit 6c68853ef7
+2 -2
View File
@@ -1776,7 +1776,7 @@ ReplayStatus WrappedVulkan::ContextReplayLog(CaptureState readType, uint32_t sta
m_LastEventID = ~0U;
}
if(!partial)
if(!partial && !IsStructuredExporting(m_State))
AddFrameTerminator(AMDRGPControl::GetBeginTag());
uint64_t startOffset = ser.GetReader()->GetOffset();
@@ -1845,7 +1845,7 @@ ReplayStatus WrappedVulkan::ContextReplayLog(CaptureState readType, uint32_t sta
}
}
if(!partial)
if(!partial && !IsStructuredExporting(m_State))
AddFrameTerminator(AMDRGPControl::GetEndTag());
// swap the structure back now that we've accumulated the frame as well.