Module: Mesa Branch: main Commit: bee77d3a8239d6195425cfd96bb4707183832b78 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=bee77d3a8239d6195425cfd96bb4707183832b78
Author: Emma Anholt <[email protected]> Date: Wed Jan 19 15:45:47 2022 -0800 softpipe: Request that st fix up DST_ALPHA blending for RGB render targets. Fixes a render target of dEQP-GLES31.functional.draw_buffers_indexed.random.max_implementation_draw_buffers.0 Reviewed-by: Dave Airlie <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14627> --- src/gallium/drivers/softpipe/sp_screen.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gallium/drivers/softpipe/sp_screen.c b/src/gallium/drivers/softpipe/sp_screen.c index b24d22998e0..7f33694f56b 100644 --- a/src/gallium/drivers/softpipe/sp_screen.c +++ b/src/gallium/drivers/softpipe/sp_screen.c @@ -139,6 +139,7 @@ softpipe_get_param(struct pipe_screen *screen, enum pipe_cap param) case PIPE_CAP_MAX_TEXTURE_CUBE_LEVELS: return SP_MAX_TEXTURE_CUBE_LEVELS; case PIPE_CAP_BLEND_EQUATION_SEPARATE: + case PIPE_CAP_RGB_OVERRIDE_DST_ALPHA_BLEND: return 1; case PIPE_CAP_INDEP_BLEND_ENABLE: return 1;
