Skip to content
Snippets Groups Projects
Commit 3f6b3d9d authored by Nicolai Hähnle's avatar Nicolai Hähnle
Browse files

gallium: add PIPE_QUERY_OCCLUSION_PREDICATE_CONSERVATIVE


To be able to properly distinguish between GL_ANY_SAMPLES_PASSED
and GL_ANY_SAMPLES_PASSED_CONSERVATIVE.

This patch goes through all drivers, having them treat the two
query types identically, except:

1. radeon incorrectly enabled conservative mode on
   PIPE_QUERY_OCCLUSION_PREDICATE. We now do it correctly, only
   on PIPE_QUERY_OCCLUSION_PREDICATE_CONSERVATIVE.
2. st/mesa uses the new query type.

Fixes dEQP-GLES31.functional.fbo.no_attachments.*

Reviewed-by: default avatarMarek Olšák <marek.olsak@amd.com>
parent 94736d31
No related branches found
No related tags found
Loading
Showing
with 89 additions and 11 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment