summaryrefslogtreecommitdiff
path: root/src/mesa/main/texcompress_rgtc_tmp.h
AgeCommit message (Collapse)Author
2011-03-02rgtc: remove GL types from this file.Dave Airlie
I'd like to share this file with gallium u_format stuff. Signed-off-by: Dave Airlie <airlied@redhat.com>
2011-03-02rgtc: move the texel fetch into common unsigned/signed code.Dave Airlie
This function can be done in the include file also. Signed-off-by: Dave Airlie <airlied@redhat.com>
2011-03-02rgtc: fix issues with compressor and signed types.Dave Airlie
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>
2011-03-01rgtc: shared the compressor code between signed/unsignedDave Airlie
No idea why I didn't do it like this the first time, but share the code like other portions of mesa do using _tmp.h suffix and some #defines for the types. Signed-off-by: Dave Airlie <airlied@redhat.com>