From: Eric Anholt Date: Fri, 3 Nov 2017 01:49:58 +0000 (-0700) Subject: broadcom/vc5: Add missing SRGBA8 ETC2 support. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3d5e62dcfaeb2382f42116612e24f7240f1e521d;p=mesa.git broadcom/vc5: Add missing SRGBA8 ETC2 support. Fixes piglit oes_compressed_etc2_texture-miptree srgb8-alpha8. --- 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),