diff options
author | Dave Airlie <[email protected]> | 2011-02-22 10:35:15 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2011-02-28 13:35:34 +1000 |
commit | 8d47c919859e9cd90cfc04eb220ac8a5aa87048e (patch) | |
tree | 4f7a1e4148d8268f32f2d0ca63becf50da56181a /src/mesa/main/formats.h | |
parent | e792e79f5ae6be008d9521eccf1c647492cd682a (diff) |
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 <[email protected]>
Diffstat (limited to 'src/mesa/main/formats.h')
-rw-r--r-- | src/mesa/main/formats.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mesa/main/formats.h b/src/mesa/main/formats.h index 9a5cef37788..e21967e2b0c 100644 --- a/src/mesa/main/formats.h +++ b/src/mesa/main/formats.h @@ -179,6 +179,12 @@ typedef enum MESA_FORMAT_RGBA_16, /* ... */ /*@}*/ + /*@{*/ + MESA_FORMAT_RED_RGTC1, + MESA_FORMAT_SIGNED_RED_RGTC1, + MESA_FORMAT_RG_RGTC2, + MESA_FORMAT_SIGNED_RG_RGTC2, + /*@}*/ MESA_FORMAT_COUNT } gl_format; |