diff options
author | Lucas Stach <[email protected]> | 2017-06-05 21:11:02 +0200 |
---|---|---|
committer | Christian Gmeiner <[email protected]> | 2017-06-21 07:45:15 +0200 |
commit | 629003b5b841380ccad1b369507924c9946bb00a (patch) | |
tree | 28d8106cf180119588c3dc8721dd94c736759487 /src/gallium/drivers/etnaviv/etnaviv_internal.h | |
parent | 1bd0acab21c250b263604a52ca6694941a6f02e0 (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.h | 1 |
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; }; |