mesa: Add decoding functions for GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2
authorAnuj Phogat <anuj.phogat@gmail.com>
Tue, 23 Oct 2012 19:22:20 +0000 (12:22 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Sat, 8 Dec 2012 00:29:49 +0000 (16:29 -0800)
commite06dcbfdc2c90b402cec257fd5e2fc843a7f708f
tree0f26df98d0305bfaf459425651d03a3ebdccd051
parent883efbf6daa02cfe8a5ce78ed87aaa06bec7c995
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 <anuj.phogat@gmail.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/main/texcompress.c
src/mesa/main/texcompress_etc.c
src/mesa/main/texcompress_etc.h
src/mesa/main/texstore.c
src/mesa/swrast/s_texfetch.c