mesa: Add decoding functions for GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2
authorAnuj Phogat <anuj.phogat@gmail.com>
Mon, 22 Oct 2012 20:34:30 +0000 (13:34 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Sat, 8 Dec 2012 00:29:49 +0000 (16:29 -0800)
commit883efbf6daa02cfe8a5ce78ed87aaa06bec7c995
tree47800b266c28cb5b3520ab9fb369adff4e9f1b8e
parent75211f4367cab6477890111211d3437bf469670b
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 <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