mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-11-07 14:35:48 +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:
1 parent
e2a624e359
commit
cd0856cd4c
1 file changed
+3
@@ -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