From 3d5e62dcfaeb2382f42116612e24f7240f1e521d Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 2 Nov 2017 18:49:58 -0700 Subject: [PATCH] broadcom/vc5: Add missing SRGBA8 ETC2 support. Fixes piglit oes_compressed_etc2_texture-miptree srgb8-alpha8. --- src/gallium/drivers/vc5/vc5_formats.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gallium/drivers/vc5/vc5_formats.c b/src/gallium/drivers/vc5/vc5_formats.c index d9c7a80b3ee..92b88ef0e00 100644 --- a/src/gallium/drivers/vc5/vc5_formats.c +++ b/src/gallium/drivers/vc5/vc5_formats.c @@ -195,6 +195,7 @@ static const struct vc5_format vc5_format_table[] = { FORMAT(ETC2_RGB8A1, NO, RGB8_PUNCHTHROUGH_ALPHA1, SWIZ_XYZW, 16, 0), FORMAT(ETC2_SRGB8A1, NO, RGB8_PUNCHTHROUGH_ALPHA1, SWIZ_XYZW, 16, 0), FORMAT(ETC2_RGBA8, NO, RGBA8_ETC2_EAC, SWIZ_XYZW, 16, 0), + FORMAT(ETC2_SRGBA8, NO, RGBA8_ETC2_EAC, SWIZ_XYZW, 16, 0), FORMAT(ETC2_R11_UNORM, NO, R11_EAC, SWIZ_X001, 16, 0), FORMAT(ETC2_R11_SNORM, NO, SIGNED_R11_EAC, SWIZ_X001, 16, 0), FORMAT(ETC2_RG11_UNORM, NO, RG11_EAC, SWIZ_XY01, 16, 0), -- 2.30.2