mesa: Add RGTC texture store/fetch support.
authorDave Airlie <airlied@redhat.com>
Tue, 22 Feb 2011 00:35:15 +0000 (10:35 +1000)
committerDave Airlie <airlied@redhat.com>
Mon, 28 Feb 2011 03:35:34 +0000 (13:35 +1000)
commit8d47c919859e9cd90cfc04eb220ac8a5aa87048e
tree4f7a1e4148d8268f32f2d0ca63becf50da56181a
parente792e79f5ae6be008d9521eccf1c647492cd682a
mesa: Add RGTC texture store/fetch support.

This adds support for the RGTC unsigned and signed
texture storage and fetch methods.

the code is a port of the DXT5 alpha compression code.

Signed-off-by: Dave Airlie <airlied@redhat.com>
src/mesa/main/formats.c
src/mesa/main/formats.h
src/mesa/main/texcompress.c
src/mesa/main/texcompress_rgtc.c [new file with mode: 0644]
src/mesa/main/texcompress_rgtc.h [new file with mode: 0644]
src/mesa/main/texfetch.c
src/mesa/main/texstore.c
src/mesa/sources.mak