summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2018-12-03 02:59:08 -0800
committerKenneth Graunke <[email protected]>2019-02-21 10:26:10 -0800
commit5f511798d09069c6a8e5b4bbe043fabbed265c8d (patch)
treeb96911b64a8cf1f18e26147f3f3621cdadd9f6ad
parent99cab4d381ba8c60eb1f1c0f030e8d9e9c9cb46a (diff)
iris: Fix primitive generated query active flag
-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;
}