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:
Jake Turner committed 2026-11-10 10:37:18 +00:00
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)
{