From 76adf041f25defad204abea1ed49b82fd9c264d1 Mon Sep 17 00:00:00 2001 From: Jonathan Marek Date: Wed, 3 Jul 2019 14:06:17 -0400 Subject: etnaviv: fix blend color on newer GPUs Newer GPUs use the half float ALPHA_COLOR_EXT register. Signed-off-by: Jonathan Marek Reviewed-by: Christian Gmeiner --- src/gallium/drivers/etnaviv/etnaviv_internal.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gallium/drivers/etnaviv/etnaviv_internal.h') diff --git a/src/gallium/drivers/etnaviv/etnaviv_internal.h b/src/gallium/drivers/etnaviv/etnaviv_internal.h index 27b6c3b28e7..c5b2dc14b1a 100644 --- a/src/gallium/drivers/etnaviv/etnaviv_internal.h +++ b/src/gallium/drivers/etnaviv/etnaviv_internal.h @@ -146,6 +146,8 @@ struct etna_specs { struct compiled_blend_color { float color[4]; uint32_t PE_ALPHA_BLEND_COLOR; + uint32_t PE_ALPHA_COLOR_EXT0; + uint32_t PE_ALPHA_COLOR_EXT1; }; /* Compiled pipe_stencil_ref */ -- cgit v1.2.3