From 5f511798d09069c6a8e5b4bbe043fabbed265c8d Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Mon, 3 Dec 2018 02:59:08 -0800 Subject: [PATCH] iris: Fix primitive generated query active flag --- src/gallium/drivers/iris/iris_query.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.30.2