mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
zink: only resume queries inside renderpasses from set_active_query_state
match new default query behavior Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21628>
This commit is contained in:
parent
81de7a1c25
commit
9bc871199c
1 changed files with 1 additions and 1 deletions
|
|
@ -1223,7 +1223,7 @@ zink_set_active_query_state(struct pipe_context *pctx, bool enable)
|
|||
struct zink_batch *batch = &ctx->batch;
|
||||
if (ctx->queries_disabled)
|
||||
zink_suspend_queries(ctx, batch);
|
||||
else
|
||||
else if (ctx->batch.in_rp)
|
||||
zink_resume_queries(ctx, batch);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue