mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 21:50:12 +01:00
zink: set predicate_dirty on query creation
ensure this is set when it needs to be Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21581>
This commit is contained in:
parent
5374605ea9
commit
b31c414e28
1 changed files with 1 additions and 0 deletions
|
|
@ -526,6 +526,7 @@ zink_create_query(struct pipe_context *pctx,
|
|||
struct zink_batch *batch = &zink_context(pctx)->batch;
|
||||
batch->has_work = true;
|
||||
query->needs_reset = true;
|
||||
query->predicate_dirty = true;
|
||||
if (query->type == PIPE_QUERY_TIMESTAMP) {
|
||||
query->active = true;
|
||||
/* defer pool reset until end_query since we're guaranteed to be threadsafe then */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue