From: Kenneth Graunke Date: Mon, 3 Dec 2018 10:59:08 +0000 (-0800) Subject: iris: Fix primitive generated query active flag X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5f511798d09069c6a8e5b4bbe043fabbed265c8d;p=mesa.git iris: Fix primitive generated query active flag --- 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; }