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/texstore.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/texstore.c')
-rw-r--r-- | src/mesa/main/texstore.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/texstore.c b/src/mesa/main/texstore.c index 9d63994111f..80edd0008e7 100644 --- a/src/mesa/main/texstore.c +++ b/src/mesa/main/texstore.c @@ -4132,8 +4132,8 @@ _mesa_get_texstore_func(gl_format format) table[MESA_FORMAT_ETC2_RG11_EAC] = _mesa_texstore_etc2_rg11_eac; table[MESA_FORMAT_ETC2_SIGNED_R11_EAC] = _mesa_texstore_etc2_signed_r11_eac; table[MESA_FORMAT_ETC2_SIGNED_RG11_EAC] = _mesa_texstore_etc2_signed_rg11_eac; - /* table[MESA_FORMAT_ETC2_RGB8_PUNCHTHROUGH_ALPHA1] = - _mesa_texstore_etc2_rgb8_punchthrough_alpha1; -- not implemented yet */ + table[MESA_FORMAT_ETC2_RGB8_PUNCHTHROUGH_ALPHA1] = + _mesa_texstore_etc2_rgb8_punchthrough_alpha1; /* table[MESA_FORMAT_ETC2_SRGB8_PUNCHTHROUGH_ALPHA1] = _mesa_texstore_etc2_srgb8_punchthrough_alpha1; -- not implemented yet */ table[MESA_FORMAT_SIGNED_A8] = _mesa_texstore_snorm8; |