summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/etnaviv/etnaviv_internal.h
diff options
context:
space:
mode:
authorLucas Stach <[email protected]>2017-06-05 21:11:02 +0200
committerChristian Gmeiner <[email protected]>2017-06-21 07:45:15 +0200
commit629003b5b841380ccad1b369507924c9946bb00a (patch)
tree28d8106cf180119588c3dc8721dd94c736759487 /src/gallium/drivers/etnaviv/etnaviv_internal.h
parent1bd0acab21c250b263604a52ca6694941a6f02e0 (diff)
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 <[email protected]> Reviewed-by: Wladimir J. van der Laan <[email protected]> Reviewed-by: Christian Gmeiner <[email protected]>
Diffstat (limited to 'src/gallium/drivers/etnaviv/etnaviv_internal.h')
-rw-r--r--src/gallium/drivers/etnaviv/etnaviv_internal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/etnaviv/etnaviv_internal.h b/src/gallium/drivers/etnaviv/etnaviv_internal.h
index 2f8dacbce5f..1212fdfa310 100644
--- a/src/gallium/drivers/etnaviv/etnaviv_internal.h
+++ b/src/gallium/drivers/etnaviv/etnaviv_internal.h
@@ -126,6 +126,7 @@ struct etna_specs {
/* Compiled pipe_blend_color */
struct compiled_blend_color {
+ float color[4];
uint32_t PE_ALPHA_BLEND_COLOR;
};