mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07:00
nv2a/vk: Ensure queries do not include clears
This commit is contained in:
committed by
mborgerson
parent
d47fef9467
commit
31db8d04b0
@@ -1442,7 +1442,7 @@ static void begin_draw(PGRAPHState *pg)
|
||||
assert(r->in_command_buffer);
|
||||
|
||||
// Visibility testing
|
||||
if (pg->zpass_pixel_count_enable) {
|
||||
if (!pg->clearing && pg->zpass_pixel_count_enable) {
|
||||
if (r->new_query_needed && r->query_in_flight) {
|
||||
end_render_pass(r);
|
||||
end_query(r);
|
||||
|
||||
Reference in New Issue
Block a user