Skip to content

panfrost: fix SAMPLE_ALPHA_TO_ONE for multisample

Eric Smith requested to merge ericsmith/mesa:pan_alpha_to_one_fix into main
panfrost: fix SAMPLE_ALPHA_TO_ONE for multisample

When SAMPLE_ALPHA_TO_ONE is enabled together with multisampling,
we need to use a blend shader, as the hardware alpha_to_one bit
only works for single samples.

In order to make the blend shader set alpha to one, we also need to
pass the alpha_to_one status in to the blend shader creation
functions.

Signed-off-by: Eric R. Smith <eric.smith@collabora.com>

Merge request reports

Loading