mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-22 02:32:36 +01:00
vk: Fix a potential deadlock
This commit is contained in:
parent
5af50cfd55
commit
c9058280e0
@ -1155,7 +1155,7 @@ namespace vk
|
|||||||
{
|
{
|
||||||
vk::queue_submit_t submit_info2{};
|
vk::queue_submit_t submit_info2{};
|
||||||
submit_info2.queue_signal(*async_sema);
|
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);
|
submit_info.wait_on(*async_sema, VK_PIPELINE_STAGE_FRAGMENT_SHADER_BIT);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user