diff options
author | Kenneth Graunke <[email protected]> | 2018-09-29 10:41:44 +0200 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2019-02-21 10:26:08 -0800 |
commit | d3a5d87219a34370d1faf32c7b9005ae4845ddd3 (patch) | |
tree | 9ec8bfc62e4f0666094a564128e67a9210b8f05f /src/gallium/drivers/iris/iris_query.c | |
parent | 07ff8c752f667f6fa6d579d56ef15422f52e82a1 (diff) |
iris: early return properly
Diffstat (limited to 'src/gallium/drivers/iris/iris_query.c')
-rw-r--r-- | src/gallium/drivers/iris/iris_query.c | 1 |
1 files changed, 1 insertions, 0 deletions
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) { |