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
1 changed files with 5 additions and 1 deletions

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; return result_none;
} }