This is needed for fixing CTS: dEQP-GLES3.functional.occlusion_query.conservative*
Signed-off-by: Gert Wollny <gert.wol...@collabora.com> --- This needs an additional patch in virglrenderer: https://patchwork.freedesktop.org/patch/221718/ Best, Gert src/gallium/drivers/virgl/virgl_query.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gallium/drivers/virgl/virgl_query.c b/src/gallium/drivers/virgl/virgl_query.c index 3a930d2966..e4d955442b 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, -- 2.16.1 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev