iris: Fix primitive generated query active flag

This commit is contained in:
Kenneth Graunke
2018-12-03 02:59:08 -08:00
parent 99cab4d381
commit 5f511798d0
+1 -1
View 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;
}