From: Kenneth Graunke Date: Sat, 29 Sep 2018 08:41:44 +0000 (+0200) Subject: iris: early return properly X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d3a5d87219a34370d1faf32c7b9005ae4845ddd3;p=mesa.git iris: early return properly --- diff --git a/src/gallium/drivers/iris/iris_query.c b/src/gallium/drivers/iris/iris_query.c index 6148835e05c..ba2542c8153 100644 --- a/src/gallium/drivers/iris/iris_query.c +++ b/src/gallium/drivers/iris/iris_query.c @@ -399,6 +399,7 @@ iris_end_query(struct pipe_context *ctx, struct pipe_query *query) if (q->type == PIPE_QUERY_TIMESTAMP) { iris_begin_query(ctx, query); write_availability(ice, q, true); + return true; } if (q->type == PIPE_QUERY_PRIMITIVES_GENERATED && q->index == 0) {