Am Sonntag, den 04.06.2017, 16:37 -0400 schrieb Ilia Mirkin:
> On Sun, Jun 4, 2017 at 3:06 PM, Lucas Stach wrote:
> > + /* If the complete render target is written, set
> > full_overwrite:
> > +* - The color mask is
> > +* - No blending is used
> > +*/
> > +
On Sun, Jun 4, 2017 at 3:06 PM, Lucas Stach wrote:
> + /* If the complete render target is written, set full_overwrite:
> +* - The color mask is
> +* - No blending is used
> +*/
> + bool full_overwrite = (rt0->colormask == 0xf) && !blend->enable;
> +
Now that we support RB swapped targets by using a shader variant, we
must derive the color mask from both the blend state and the bound
framebuffer.
Fixes piglit: fbo-colormask-formats
Signed-off-by: Lucas Stach
---
src/gallium/drivers/etnaviv/etnaviv_blend.c | 48