diff options
author | Anuj Phogat <[email protected]> | 2012-10-23 12:22:20 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2012-12-07 16:29:49 -0800 |
commit | e06dcbfdc2c90b402cec257fd5e2fc843a7f708f (patch) | |
tree | 0f26df98d0305bfaf459425651d03a3ebdccd051 /src/mesa/main/texstore.c | |
parent | 883efbf6daa02cfe8a5ce78ed87aaa06bec7c995 (diff) |
mesa: Add decoding functions for GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2
Data in GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2 format is decoded and stored
in MESA_FORMAT_SARGB.
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 80edd0008e7..26c5b670312 100644 --- a/src/mesa/main/texstore.c +++ b/src/mesa/main/texstore.c @@ -4134,8 +4134,8 @@ _mesa_get_texstore_func(gl_format format) 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; - /* table[MESA_FORMAT_ETC2_SRGB8_PUNCHTHROUGH_ALPHA1] = - _mesa_texstore_etc2_srgb8_punchthrough_alpha1; -- not implemented yet */ + table[MESA_FORMAT_ETC2_SRGB8_PUNCHTHROUGH_ALPHA1] = + _mesa_texstore_etc2_srgb8_punchthrough_alpha1; table[MESA_FORMAT_SIGNED_A8] = _mesa_texstore_snorm8; table[MESA_FORMAT_SIGNED_L8] = _mesa_texstore_snorm8; table[MESA_FORMAT_SIGNED_AL88] = _mesa_texstore_snorm88; |