summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gallium/drivers/iris/iris_query.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/iris/iris_query.c b/src/gallium/drivers/iris/iris_query.c
index 2a8c963b807..25eaacd22db 100644
--- a/src/gallium/drivers/iris/iris_query.c
+++ b/src/gallium/drivers/iris/iris_query.c
@@ -543,7 +543,7 @@ iris_end_query(struct pipe_context *ctx, struct pipe_query *query)
}
if (q->type == PIPE_QUERY_PRIMITIVES_GENERATED && q->index == 0) {
- ice->state.prims_generated_query_active = true;
+ ice->state.prims_generated_query_active = false;
ice->state.dirty |= IRIS_DIRTY_STREAMOUT | IRIS_DIRTY_CLIP;
}