broadcom/vc5: Force blending to treat alpha as 1 for formats without alpha.
authorEric Anholt <eric@anholt.net>
Fri, 27 Oct 2017 22:52:22 +0000 (15:52 -0700)
committerEric Anholt <eric@anholt.net>
Mon, 30 Oct 2017 20:31:32 +0000 (13:31 -0700)
commit2a77c763fe769b37d154585114b403b7755b9e17
tree9a0fc52fe3d4bf061dfa938218508d00bd97bf08
parent61bb0df60e08d0b5707879c49beed899d46eaf9a
broadcom/vc5: Force blending to treat alpha as 1 for formats without alpha.

Fixes fbo-blending-formats on RGB8 and 565.  We will still need to demote
blending to shader code in the MRT case to fix it in general, but that can
be added when we start doing 32F blending (which also needs to be done in
the shader).
src/gallium/drivers/vc5/vc5_context.h
src/gallium/drivers/vc5/vc5_emit.c
src/gallium/drivers/vc5/vc5_state.c