v3d: Fix MRT blending with independent blending disabled.
authorEric Anholt <eric@anholt.net>
Wed, 11 Jul 2018 18:02:11 +0000 (11:02 -0700)
committerEric Anholt <eric@anholt.net>
Thu, 12 Jul 2018 18:31:08 +0000 (11:31 -0700)
commit97ddeed949c608742c096dadb64b7c28a56cf920
tree5c63b30b009ae182080d9878441a9a918ca2065f
parente0dbbf9987c6f75b8aeb38ac70fb906a3e0d9493
v3d: Fix MRT blending with independent blending disabled.

We were only emitting the RT blend state for RT 0 and only enabling it for
RT 0, when the gallium API for !independent_blend is for rt0's state to
apply to all of them.

Fixes piglit fbo-drawbuffers-blend-add.
src/gallium/drivers/v3d/v3dx_emit.c
src/gallium/drivers/v3d/v3dx_state.c