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 <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14627>
This commit is contained in:
Emma Anholt 2022-01-19 15:45:47 -08:00 committed by Marge Bot
parent 263faa3dfb
commit bee77d3a82
1 changed files with 1 additions and 0 deletions

View File

@ -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;