Mesa (master): mesa: Add RGTC texture store/fetch support.

Dave Airlie airlied at kemper.freedesktop.org
Mon Feb 28 03:38:30 UTC 2011


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

Author: Dave Airlie <airlied at redhat.com>
Date:   Tue Feb 22 10:35:15 2011 +1000

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

---

 src/mesa/main/formats.c          |   42 ++-
 src/mesa/main/formats.h          |    6 +
 src/mesa/main/texcompress.c      |   20 +
 src/mesa/main/texcompress_rgtc.c | 1122 ++++++++++++++++++++++++++++++++++++++
 src/mesa/main/texcompress_rgtc.h |   60 ++
 src/mesa/main/texfetch.c         |   31 +-
 src/mesa/main/texstore.c         |    8 +-
 src/mesa/sources.mak             |    1 +
 8 files changed, 1287 insertions(+), 3 deletions(-)

Diff:   http://cgit.freedesktop.org/mesa/mesa/diff/?id=8d47c919859e9cd90cfc04eb220ac8a5aa87048e



More information about the mesa-commit mailing list