diff options
author | Anuj Phogat <[email protected]> | 2012-11-12 15:58:25 -0800 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2012-12-07 16:29:48 -0800 |
commit | 62fc4b4ae16c924b63d9853a6f92c1da0c542b70 (patch) | |
tree | 45e8e9224b5cb105beaea9be150268fa775f731d /src/mesa/main/texcompress.c | |
parent | 965a24995d1bfe5c22dfc201de6c2215a3df35a7 (diff) |
mesa: Add decoding functions for GL_COMPRESSED_RGBA8_ETC2_EAC
Data in GL_COMPRESSED_RGBA8_ETC2_EAC format is decoded and stored
in MESA_FORMAT_RGBA8888_REV.
Signed-off-by: Anuj Phogat <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/main/texcompress.c')
-rw-r--r-- | src/mesa/main/texcompress.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/texcompress.c b/src/mesa/main/texcompress.c index 3ed0e8593b5..7dc337c4291 100644 --- a/src/mesa/main/texcompress.c +++ b/src/mesa/main/texcompress.c @@ -614,7 +614,7 @@ _mesa_decompress_image(gl_format format, GLuint width, GLuint height, fetch = _mesa_fetch_texel_2d_f_etc2_srgb8; break; case MESA_FORMAT_ETC2_RGBA8_EAC: - /* fetch = _mesa_fetch_texel_2d_f_etc2_rgba8_eac; -- not implemented yet */ + fetch = _mesa_fetch_texel_2d_f_etc2_rgba8_eac; break; case MESA_FORMAT_ETC2_SRGB8_ALPHA8_EAC: /* fetch = _mesa_fetch_texel_2d_f_etc2_srgb8_alpha8_eac; -- not implemented yet */ |