mirror of https://github.com/xemu-project/xemu.git
nv2a/vk: Ensure queries do not include clears
This commit is contained in:
parent
d47fef9467
commit
31db8d04b0
|
@ -1442,7 +1442,7 @@ static void begin_draw(PGRAPHState *pg)
|
||||||
assert(r->in_command_buffer);
|
assert(r->in_command_buffer);
|
||||||
|
|
||||||
// Visibility testing
|
// 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) {
|
if (r->new_query_needed && r->query_in_flight) {
|
||||||
end_render_pass(r);
|
end_render_pass(r);
|
||||||
end_query(r);
|
end_query(r);
|
||||||
|
|
Loading…
Reference in New Issue