rgtc: fix issues with compressor and signed types.
authorDave Airlie <airlied@redhat.com>
Wed, 2 Mar 2011 04:08:59 +0000 (14:08 +1000)
committerDave Airlie <airlied@redhat.com>
Wed, 2 Mar 2011 04:08:59 +0000 (14:08 +1000)
commitfb6ecca0a556dcca1f77bfb84a835e2b9c2e2e6a
treecc02ac6cbacdf9b2f848854db77325811f18cd47
parent521394a204bd8073846acc7f9861081d29fa24c9
rgtc: fix issues with compressor and signed types.

With signed types we weren't hitting this test however the comment
stating this doesn't happen often doesn't apply when using signed
types since an all 0 block is quite common which isn't abs min or max.

this fixes the limits correctly again also.

Signed-off-by: Dave Airlie <airlied@redhat.com>
src/mesa/main/texcompress_rgtc.c
src/mesa/main/texcompress_rgtc_tmp.h