From f49a394ed3a22452a87b7d66fbd9d1e6231c04b5 Mon Sep 17 00:00:00 2001 From: baldurk Date: Tue, 3 Mar 2026 14:10:02 +0000 Subject: [PATCH] Add extra device idle before vulkan present --- renderdoc/driver/vulkan/vk_outputwindow.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/renderdoc/driver/vulkan/vk_outputwindow.cpp b/renderdoc/driver/vulkan/vk_outputwindow.cpp index 2cd99a6ca..0b6526501 100644 --- a/renderdoc/driver/vulkan/vk_outputwindow.cpp +++ b/renderdoc/driver/vulkan/vk_outputwindow.cpp @@ -1298,6 +1298,8 @@ void VulkanReplay::FlipOutputWindow(uint64_t id) VkResult retvkr; + vt->DeviceWaitIdle(Unwrap(m_pDriver->GetDev())); + // if we were not able to acquire an image successfully in Bind even after resizing due to an // OUT_OF_DATE, then don't present here as we never got a valid image. // This will also force another recreate below