etnaviv: fix blend color for RB swapped rendertargets
authorLucas Stach <dev@lynxeye.de>
Mon, 5 Jun 2017 19:11:02 +0000 (21:11 +0200)
committerChristian Gmeiner <christian.gmeiner@gmail.com>
Wed, 21 Jun 2017 05:45:15 +0000 (07:45 +0200)
commit629003b5b841380ccad1b369507924c9946bb00a
tree28d8106cf180119588c3dc8721dd94c736759487
parent1bd0acab21c250b263604a52ca6694941a6f02e0
etnaviv: fix blend color for RB swapped rendertargets

Same as with the colormasks, the blend color needs to be swizzled according
to the rendertarget format.

Signed-off-by: Lucas Stach <dev@lynxeye.de>
Reviewed-by: Wladimir J. van der Laan <laanwj@gmail.com>
Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com>
src/gallium/drivers/etnaviv/etnaviv_blend.c
src/gallium/drivers/etnaviv/etnaviv_blend.h
src/gallium/drivers/etnaviv/etnaviv_internal.h
src/gallium/drivers/etnaviv/etnaviv_state.c