diff options
author | Dave Airlie <[email protected]> | 2018-05-28 11:53:32 +1000 |
---|---|---|
committer | Jakob Bornecrantz <[email protected]> | 2018-05-30 17:02:40 +0100 |
commit | 46fe349af25b07e23e901fe43051dbfda0584236 (patch) | |
tree | b592486112f8c78feeaf51d6bc723ce1a0849c00 /src/gallium/drivers/virgl | |
parent | f9eb7e8b765cc6d6e9886f701d4ec45c64845d88 (diff) |
virgl: add ARB_conditional_render_inverted support
Reviewed-by: Jakob Bornecrantz <[email protected]>
Signed-off-by: Jakob Bornecrantz <[email protected]>
Diffstat (limited to 'src/gallium/drivers/virgl')
-rw-r--r-- | src/gallium/drivers/virgl/virgl_screen.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/virgl/virgl_screen.c b/src/gallium/drivers/virgl/virgl_screen.c index 5e764ff16b2..a8b107ee44a 100644 --- a/src/gallium/drivers/virgl/virgl_screen.c +++ b/src/gallium/drivers/virgl/virgl_screen.c @@ -202,6 +202,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: @@ -210,7 +212,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: |