1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-21 18:22:33 +01:00

vk: Fix a potential deadlock

This commit is contained in:
kd-11 2022-07-24 20:51:29 +03:00 committed by kd-11
parent 5af50cfd55
commit c9058280e0

View File

@ -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);
}