iris: early return properly
authorKenneth Graunke <kenneth@whitecape.org>
Sat, 29 Sep 2018 08:41:44 +0000 (10:41 +0200)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 21 Feb 2019 18:26:08 +0000 (10:26 -0800)
src/gallium/drivers/iris/iris_query.c

index 6148835e05c53576a80a08573439e68c82bbced1..ba2542c8153d639600075b08cf1bcc9d9e560f30 100644 (file)
@@ -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) {