mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
Make sure to set m_LastCmdBufferID in vkCmdWaitEvents
* Without this, it's treated as a host operation not a queue/command operation and isn't placed correctly in the event stream.
This commit is contained in:
@@ -668,6 +668,9 @@ bool WrappedVulkan::Serialise_vkCmdWaitEvents(
|
||||
SERIALISE_ELEMENT(VkPipelineStageFlagBits, srcStages, (VkPipelineStageFlagBits)srcStageMask);
|
||||
SERIALISE_ELEMENT(VkPipelineStageFlagBits, destStages, (VkPipelineStageFlagBits)dstStageMask);
|
||||
|
||||
if(m_State < WRITING)
|
||||
m_LastCmdBufferID = cmdid;
|
||||
|
||||
// we don't serialise the original events as we are going to replace this
|
||||
// with our own
|
||||
|
||||
|
||||
Reference in New Issue
Block a user