mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-11-12 08:53:27 +00:00
Remove any semaphores when replaying vkQueueSubmit2
- this matches the behaviour of vkQueueSubmit - if any submit has wait semaphores then a device wait idle will already have happened
This commit is contained in:
1 parent
3211e1e0aa
commit
e0399b6ef9
1 file changed
+6
-1
@@ -1559,7 +1559,12 @@ bool WrappedVulkan::Serialise_vkQueueSubmit2(SerialiserType &ser, VkQueue queue,
|
||||
{
|
||||
rdcstr basename = StringFormat::Fmt("vkQueueSubmit2(%u)", pSubmits[sub].commandBufferInfoCount);
|
||||
|
||||
ReplayQueueSubmit(queue, pSubmits[sub], basename);
|
||||
VkSubmitInfo2 submitInfo = pSubmits[sub];
|
||||
submitInfo.waitSemaphoreInfoCount = 0;
|
||||
submitInfo.pWaitSemaphoreInfos = NULL;
|
||||
submitInfo.signalSemaphoreInfoCount = 0;
|
||||
submitInfo.pSignalSemaphoreInfos = NULL;
|
||||
ReplayQueueSubmit(queue, submitInfo, basename);
|
||||
}
|
||||
if(submitCount == 0)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user