diff options
author | Roland Scheidegger <[email protected]> | 2009-03-27 19:39:52 +0100 |
---|---|---|
committer | Roland Scheidegger <[email protected]> | 2009-03-28 02:02:42 +0100 |
commit | c6a6cc191813e8343a17b028146a34f193a6ce44 (patch) | |
tree | cb1ecd35ac15c9b2c0cf3740dbdc631c7622233a /src/mesa/main/texformat.h | |
parent | a9bf5b5ccac2a75f1a2470d4910361e65b2d8eab (diff) |
mesa: add new signed rgba texture format
This is a (partial) backport of the signed texture format support in OGL 3.1.
Since it wasn't promoted from an existing extension roll our own.
Diffstat (limited to 'src/mesa/main/texformat.h')
-rw-r--r-- | src/mesa/main/texformat.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mesa/main/texformat.h b/src/mesa/main/texformat.h index 7fa70ad4fee..3a08339adfd 100644 --- a/src/mesa/main/texformat.h +++ b/src/mesa/main/texformat.h @@ -168,7 +168,8 @@ enum _format { * \name Signed fixed point texture formats. */ /*@{*/ - MESA_FORMAT_DUDV8 + MESA_FORMAT_DUDV8, + MESA_FORMAT_SIGNED_RGBA8888 /*@}*/ }; @@ -219,6 +220,7 @@ extern const struct gl_texture_format _mesa_texformat_intensity_float16; /** Signed fixed point texture formats */ /*@{*/ extern const struct gl_texture_format _mesa_texformat_dudv8; +extern const struct gl_texture_format _mesa_texformat_signed_rgba8888; /*@}*/ /** \name Assorted hardware-friendly formats */ |