From b31c414e280231d2eac788fd55a899e85d2fea97 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Tue, 28 Feb 2023 06:29:54 -0500 Subject: [PATCH] zink: set predicate_dirty on query creation ensure this is set when it needs to be Part-of: --- src/gallium/drivers/zink/zink_query.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gallium/drivers/zink/zink_query.c b/src/gallium/drivers/zink/zink_query.c index 84c1ba458cc..7f307731ecd 100644 --- a/src/gallium/drivers/zink/zink_query.c +++ b/src/gallium/drivers/zink/zink_query.c @@ -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 */