diff options
author | Anuj Phogat <[email protected]> | 2012-10-22 13:34:30 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2012-12-07 16:29:49 -0800 |
commit | 883efbf6daa02cfe8a5ce78ed87aaa06bec7c995 (patch) | |
tree | 47800b266c28cb5b3520ab9fb369adff4e9f1b8e /src/mesa/main/texcompress.c | |
parent | 75211f4367cab6477890111211d3437bf469670b (diff) |
mesa: Add decoding functions for GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2
Data in GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2 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 b3fdfd76779..c05b89124d2 100644 --- a/src/mesa/main/texcompress.c +++ b/src/mesa/main/texcompress.c @@ -632,7 +632,7 @@ _mesa_decompress_image(gl_format format, GLuint width, GLuint height, fetch = _mesa_fetch_texel_2d_f_etc2_signed_rg11_eac; break; case MESA_FORMAT_ETC2_RGB8_PUNCHTHROUGH_ALPHA1: - /* fetch = _mesa_fetch_texel_2d_f_etc2_rgb8_punchthrough_alpha1; -- not implemented yet */ + fetch = _mesa_fetch_texel_2d_f_etc2_rgb8_punchthrough_alpha1; break; case MESA_FORMAT_ETC2_SRGB8_PUNCHTHROUGH_ALPHA1: /* fetch = _mesa_fetch_texel_2d_f_etc2_srgb8_punchthrough_alpha1; -- not implemented yet */ |