iris: Fix primitive generated query active flag
authorKenneth Graunke <kenneth@whitecape.org>
Mon, 3 Dec 2018 10:59:08 +0000 (02:59 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 21 Feb 2019 18:26:10 +0000 (10:26 -0800)
src/gallium/drivers/iris/iris_query.c

index 2a8c963b807ac0b775a3e650b5fe12e7ff6c8c9c..25eaacd22dbab6e3db5923041884d2818e53efd5 100644 (file)
@@ -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;
    }