diff options
author | Eric Anholt <[email protected]> | 2017-11-02 18:49:58 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2017-11-07 09:40:25 -0800 |
commit | 3d5e62dcfaeb2382f42116612e24f7240f1e521d (patch) | |
tree | 9e65b48c54dfbe2c83ae7aed9aa8a2448fddb08a /src/gallium/drivers/vc5/vc5_formats.c | |
parent | 6079f7c3c3ce30277ce671b9679186f243a5e570 (diff) |
broadcom/vc5: Add missing SRGBA8 ETC2 support.
Fixes piglit oes_compressed_etc2_texture-miptree srgb8-alpha8.
Diffstat (limited to 'src/gallium/drivers/vc5/vc5_formats.c')
-rw-r--r-- | src/gallium/drivers/vc5/vc5_formats.c | 1 |
1 files changed, 1 insertions, 0 deletions
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), |