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:
committed by
Marge Bot
parent
5374605ea9
commit
b31c414e28
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user