gallium: add RGTC UNORM support to u_format.
authorDave Airlie <airlied@redhat.com>
Wed, 2 Mar 2011 04:34:14 +0000 (14:34 +1000)
committerDave Airlie <airlied@redhat.com>
Wed, 2 Mar 2011 05:30:16 +0000 (15:30 +1000)
commit8d62b2aca99ba67f794dd682ed1ec49dc8826390
tree630a9edcd0d7a781adc835e77fc0709e9de40196
parent59cae3eee105b8522bc9b17cd60ad1e98b1e8825
gallium: add RGTC UNORM support to u_format.

SNORM needs a bit of work in the state tracker in order for mipmap
generation to work I believe.

I'm also not sure that having unorm fetches for an snorm format is
sane.
src/gallium/auxiliary/Makefile
src/gallium/auxiliary/util/u_format_pack.py
src/gallium/auxiliary/util/u_format_rgtc.c [new file with mode: 0644]
src/gallium/auxiliary/util/u_format_rgtc.h [new file with mode: 0644]
src/gallium/auxiliary/util/u_format_table.py
src/gallium/auxiliary/util/u_math.h