mesa: Add decoding functions for GL_COMPRESSED_SRGB8_ETC2
authorAnuj Phogat <anuj.phogat@gmail.com>
Fri, 28 Sep 2012 00:05:24 +0000 (17:05 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Sat, 8 Dec 2012 00:29:48 +0000 (16:29 -0800)
commit965a24995d1bfe5c22dfc201de6c2215a3df35a7
treeebb112a0a20edd7a21bf67c8699831dc6d880fba
parent81911101eedffed5ab13bce5a76bbcd2eefaffd6
mesa: Add decoding functions for GL_COMPRESSED_SRGB8_ETC2

Data in GL_COMPRESSED_SRGB8_ETC2 format is decoded and stored
in MESA_FORMAT_SARGB8.

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