From: Eric Anholt Date: Fri, 5 Jun 2020 00:08:18 +0000 (-0700) Subject: freedreno/a6xx: Add support for ALPHA_TO_ONE. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d1f9d1e26a2aab71d6ba6edcf195b972f12cff80;p=mesa.git freedreno/a6xx: Add support for ALPHA_TO_ONE. Fixes piglit ext_framebuffer_multisample-draw-buffers-alpha-to-one Part-of: --- diff --git a/src/gallium/drivers/freedreno/a6xx/fd6_blend.c b/src/gallium/drivers/freedreno/a6xx/fd6_blend.c index 3d4b1005524..d69d3f0f59d 100644 --- a/src/gallium/drivers/freedreno/a6xx/fd6_blend.c +++ b/src/gallium/drivers/freedreno/a6xx/fd6_blend.c @@ -132,6 +132,7 @@ __fd6_setup_blend_variant(struct fd6_blend_stateobj *blend, unsigned sample_mask OUT_REG(ring, A6XX_RB_BLEND_CNTL( .enable_blend = mrt_blend, .alpha_to_coverage = cso->alpha_to_coverage, + .alpha_to_one = cso->alpha_to_one, .independent_blend = cso->independent_blend_enable, .sample_mask = sample_mask ));