zink: remove special casing for occlusion qbos
this seems fine now Reviewed-by: Dave Airlie <airlied@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9811>
This commit is contained in:
parent
2f81d6fbf0
commit
313407672c
|
@ -830,9 +830,6 @@ zink_get_query_result_resource(struct pipe_context *pctx,
|
||||||
/* result happens to be ready or we're waiting */
|
/* result happens to be ready or we're waiting */
|
||||||
if (num_queries == 1 && query->type != PIPE_QUERY_PRIMITIVES_GENERATED &&
|
if (num_queries == 1 && query->type != PIPE_QUERY_PRIMITIVES_GENERATED &&
|
||||||
query->type != PIPE_QUERY_PRIMITIVES_EMITTED &&
|
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)) {
|
!is_so_overflow_query(query)) {
|
||||||
copy_results_to_buffer(ctx, query, res, offset, 1, size_flags);
|
copy_results_to_buffer(ctx, query, res, offset, 1, size_flags);
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue