Module: Mesa
Branch: master
Commit: 313407672c1135f30d26166f3a93fe53385773ae
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=313407672c1135f30d26166f3a93fe53385773ae

Author: Mike Blumenkrantz <[email protected]>
Date:   Fri Dec 18 18:07:00 2020 -0500

zink: remove special casing for occlusion qbos

this seems fine now

Reviewed-by: Dave Airlie <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9811>

---

 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 66ef9db37cd..4644846a328 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;

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to