diff options
author | Brian Paul <[email protected]> | 2010-07-05 20:07:07 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2010-07-05 20:14:39 -0600 |
commit | abd5627a6a034885b0b01b995c73870da1361bb0 (patch) | |
tree | f13fb38b514f020d6637d64cdf709c4f94e7a876 /src/mesa/main/formats.h | |
parent | e54164b4e3890e3eddc4ae976e3cc2f1fa2f441b (diff) |
mesa: initial support for unnormalized integer texture formats
As defined by GL_EXT_texture_integer.
Diffstat (limited to 'src/mesa/main/formats.h')
-rw-r--r-- | src/mesa/main/formats.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/mesa/main/formats.h b/src/mesa/main/formats.h index c744688122f..aa14185628f 100644 --- a/src/mesa/main/formats.h +++ b/src/mesa/main/formats.h @@ -130,6 +130,22 @@ typedef enum MESA_FORMAT_INTENSITY_FLOAT16, /*@}*/ + /** + * \name Non-normalized signed integer formats. + * XXX Note: these are just stand-ins for some better hardware + * formats TBD such as BGRA or ARGB. + */ + MESA_FORMAT_RGBA_INT8, + MESA_FORMAT_RGBA_INT16, + MESA_FORMAT_RGBA_INT32, + + /** + * \name Non-normalized unsigned integer formats. + */ + MESA_FORMAT_RGBA_UINT8, + MESA_FORMAT_RGBA_UINT16, + MESA_FORMAT_RGBA_UINT32, + /* msb <------ TEXEL BITS -----------> lsb */ /* ---- ---- ---- ---- ---- ---- ---- ---- */ /** |