From: Tobias Klausmann Date: Sun, 17 Aug 2014 15:16:08 +0000 (+0200) Subject: llvmpipe/softpipe: enable ARB_conditional_render_inverted X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=544c54114a39b890c525b0a2d1602b21e9e4c2ee;p=mesa.git llvmpipe/softpipe: enable ARB_conditional_render_inverted Reviewed-by: Ilia Mirkin Reviewed-by: Roland Scheidegger Signed-off-by: Tobias Klausmann --- diff --git a/src/gallium/drivers/llvmpipe/lp_screen.c b/src/gallium/drivers/llvmpipe/lp_screen.c index 08597fa9859..2a6e673b9e4 100644 --- a/src/gallium/drivers/llvmpipe/lp_screen.c +++ b/src/gallium/drivers/llvmpipe/lp_screen.c @@ -250,10 +250,11 @@ llvmpipe_get_param(struct pipe_screen *screen, enum pipe_cap param) case PIPE_CAP_TEXTURE_GATHER_OFFSETS: case PIPE_CAP_TGSI_VS_WINDOW_SPACE_POSITION: case PIPE_CAP_TGSI_FS_FINE_DERIVATIVE: - case PIPE_CAP_CONDITIONAL_RENDER_INVERTED: return 0; case PIPE_CAP_FAKE_SW_MSAA: return 1; + case PIPE_CAP_CONDITIONAL_RENDER_INVERTED: + return 1; case PIPE_CAP_VENDOR_ID: return 0xFFFFFFFF; diff --git a/src/gallium/drivers/softpipe/sp_screen.c b/src/gallium/drivers/softpipe/sp_screen.c index 8fd4a0da3bd..d54112c4940 100644 --- a/src/gallium/drivers/softpipe/sp_screen.c +++ b/src/gallium/drivers/softpipe/sp_screen.c @@ -223,7 +223,7 @@ softpipe_get_param(struct pipe_screen *screen, enum pipe_cap param) case PIPE_CAP_UMA: return 0; case PIPE_CAP_CONDITIONAL_RENDER_INVERTED: - return 0; + return 1; } /* should only get here on unhandled cases */ debug_printf("Unexpected PIPE_CAP %d query\n", param);