From c9058280e0b2585333d94c3c481391d425a6a26d Mon Sep 17 00:00:00 2001 From: kd-11 Date: Sun, 24 Jul 2022 20:51:29 +0300 Subject: [PATCH] vk: Fix a potential deadlock --- rpcs3/Emu/RSX/VK/VKTextureCache.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpcs3/Emu/RSX/VK/VKTextureCache.cpp b/rpcs3/Emu/RSX/VK/VKTextureCache.cpp index 8b8a356d53..a22eb236de 100644 --- a/rpcs3/Emu/RSX/VK/VKTextureCache.cpp +++ b/rpcs3/Emu/RSX/VK/VKTextureCache.cpp @@ -1155,7 +1155,7 @@ namespace vk { vk::queue_submit_t submit_info2{}; submit_info2.queue_signal(*async_sema); - async_scheduler->flush(submit_info2, VK_FALSE); + async_scheduler->flush(submit_info2, VK_TRUE); submit_info.wait_on(*async_sema, VK_PIPELINE_STAGE_FRAGMENT_SHADER_BIT); }