Module: Mesa Branch: main Commit: b31c414e280231d2eac788fd55a899e85d2fea97 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b31c414e280231d2eac788fd55a899e85d2fea97
Author: Mike Blumenkrantz <[email protected]> Date: Tue Feb 28 06:29:54 2023 -0500 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> --- 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 */
