Mesa (master): rgtc: shared the compressor code between signed/unsigned

Dave Airlie airlied at kemper.freedesktop.org
Tue Mar 1 01:58:48 UTC 2011


Module: Mesa
Branch: master
Commit: 9c16fcc617b8c5c4db825ed290f994e535de8c65
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9c16fcc617b8c5c4db825ed290f994e535de8c65

Author: Dave Airlie <airlied at redhat.com>
Date:   Tue Mar  1 11:57:51 2011 +1000

rgtc: shared the compressor code between signed/unsigned

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 at redhat.com>

---

 src/mesa/main/texcompress_rgtc.c     |  723 ++--------------------------------
 src/mesa/main/texcompress_rgtc_tmp.h |  376 ++++++++++++++++++
 2 files changed, 403 insertions(+), 696 deletions(-)

Diff:   http://cgit.freedesktop.org/mesa/mesa/diff/?id=9c16fcc617b8c5c4db825ed290f994e535de8c65



More information about the mesa-commit mailing list