From 313407672c1135f30d26166f3a93fe53385773ae Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Fri, 18 Dec 2020 18:07:00 -0500 Subject: [PATCH] zink: remove special casing for occlusion qbos this seems fine now Reviewed-by: Dave Airlie Part-of: --- src/gallium/drivers/zink/zink_query.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/gallium/drivers/zink/zink_query.c b/src/gallium/drivers/zink/zink_query.c index 66ef9db..4644846 100644 --- a/src/gallium/drivers/zink/zink_query.c +++ b/src/gallium/drivers/zink/zink_query.c @@ -830,9 +830,6 @@ zink_get_query_result_resource(struct pipe_context *pctx, /* result happens to be ready or we're waiting */ if (num_queries == 1 && query->type != PIPE_QUERY_PRIMITIVES_GENERATED && query->type != PIPE_QUERY_PRIMITIVES_EMITTED && - /* FIXME: I don't know why, but occlusion is broken here */ - query->type != PIPE_QUERY_OCCLUSION_PREDICATE && - query->type != PIPE_QUERY_OCCLUSION_PREDICATE_CONSERVATIVE && !is_so_overflow_query(query)) { copy_results_to_buffer(ctx, query, res, offset, 1, size_flags); return; -- 2.7.4