mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-03-15 22:21:25 +00:00
vulkan zcull: Fix deadlock in zcull flush waiting
Block adding additional flush requests until the first ones are treated (by adding missing lock)
This commit is contained in:
parent
fc253165e2
commit
bd259c8ae4
@ -3581,6 +3581,7 @@ void VKGSRender::get_occlusion_query_result(rsx::reports::occlusion_query_info*
|
||||
{
|
||||
if (data.command_buffer_to_wait == m_current_command_buffer)
|
||||
{
|
||||
std::lock_guard lock(m_flush_queue_mutex);
|
||||
flush_command_queue();
|
||||
|
||||
//Clear any deferred flush requests from previous call to get_query_status()
|
||||
|
Loading…
x
Reference in New Issue
Block a user