From d3a5d87219a34370d1faf32c7b9005ae4845ddd3 Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Sat, 29 Sep 2018 10:41:44 +0200 Subject: [PATCH] iris: early return properly --- src/gallium/drivers/iris/iris_query.c | 1 + 1 file changed, 1 insertion(+) 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) { -- 2.30.2