rsx: Fix leaking ZCULL queries after a barrier

- Multiple queries can be queued up, process them all before completing the barrier
This commit is contained in:
kd-11 2020-06-30 20:31:50 +03:00 committed by kd-11
parent b5f01372ee
commit d7ffc8b4ac

View File

@ -3611,7 +3611,11 @@ namespace rsx
}
}
update(ptimer, sync_address);
// There can be multiple queries all writing to the same address, loop to flush all of them
while (query->pending && !Emu.IsStopped())
{
update(ptimer, sync_address);
}
return result_none;
}