[Mesa-dev] [PATCH 2/5] virgl: add ARB_conditional_render_inverted support
Dave Airlie
airlied at gmail.com
Mon May 28 01:53:32 UTC 2018
From: Dave Airlie <airlied at redhat.com>
---
src/gallium/drivers/virgl/virgl_screen.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/gallium/drivers/virgl/virgl_screen.c b/src/gallium/drivers/virgl/virgl_screen.c
index 1ca9e85de73..5f231625d54 100644
--- a/src/gallium/drivers/virgl/virgl_screen.c
+++ b/src/gallium/drivers/virgl/virgl_screen.c
@@ -200,6 +200,8 @@ virgl_get_param(struct pipe_screen *screen, enum pipe_cap param)
return vscreen->caps.caps.v1.bset.has_cull;
case PIPE_CAP_MAX_VERTEX_STREAMS:
return vscreen->caps.caps.v1.glsl_level >= 400 ? 4 : 1;
+ case PIPE_CAP_CONDITIONAL_RENDER_INVERTED:
+ return vscreen->caps.caps.v1.bset.conditional_render_inverted;
case PIPE_CAP_TEXTURE_GATHER_SM5:
case PIPE_CAP_BUFFER_MAP_PERSISTENT_COHERENT:
case PIPE_CAP_FAKE_SW_MSAA:
@@ -208,7 +210,6 @@ virgl_get_param(struct pipe_screen *screen, enum pipe_cap param)
case PIPE_CAP_MULTI_DRAW_INDIRECT:
case PIPE_CAP_MULTI_DRAW_INDIRECT_PARAMS:
case PIPE_CAP_TGSI_FS_FINE_DERIVATIVE:
- case PIPE_CAP_CONDITIONAL_RENDER_INVERTED:
case PIPE_CAP_MAX_VERTEX_ATTRIB_STRIDE:
case PIPE_CAP_SAMPLER_VIEW_TARGET:
case PIPE_CAP_CLIP_HALFZ:
--
2.14.3
More information about the mesa-dev
mailing list