diff options
author | Gert Wollny <[email protected]> | 2018-05-09 16:51:49 +0200 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2018-05-10 12:26:57 +1000 |
commit | fb4011ace9022e674639f2743272b7eba650cde3 (patch) | |
tree | 52d74006ecd9476fe0f617719c473df24d4f58b7 | |
parent | ce027ac5c798b39582288e5d7d9973b3cdda591e (diff) |
virgl: Add support for passing GL_ANY_SAMPLES_PASSED_CONSERVATIVE
This is needed for fixing CTS:
dEQP-GLES3.functional.occlusion_query.conservative*
Reviewed-by: Dave Airlie <[email protected]>
Signed-off-by: Gert Wollny <[email protected]>
-rw-r--r-- | src/gallium/drivers/virgl/virgl_query.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/virgl/virgl_query.c b/src/gallium/drivers/virgl/virgl_query.c index 3a930d29666..e4d955442bf 100644 --- a/src/gallium/drivers/virgl/virgl_query.c +++ b/src/gallium/drivers/virgl/virgl_query.c @@ -48,12 +48,13 @@ struct virgl_query { #define VIRGL_QUERY_SO_OVERFLOW_PREDICATE 8 #define VIRGL_QUERY_GPU_FINISHED 9 #define VIRGL_QUERY_PIPELINE_STATISTICS 10 +#define VIRGL_QUERY_OCCLUSION_PREDICATE_CONSERVATIVE 11 static const int pquery_map[] = { VIRGL_QUERY_OCCLUSION_COUNTER, VIRGL_QUERY_OCCLUSION_PREDICATE, - -1, + VIRGL_QUERY_OCCLUSION_PREDICATE_CONSERVATIVE, VIRGL_QUERY_TIMESTAMP, VIRGL_QUERY_TIMESTAMP_DISJOINT, VIRGL_QUERY_TIME_ELAPSED, |