Mesa (master): mesa: added comments for signed 16-bit formats
Brian Paul
brianp at kemper.freedesktop.org
Mon May 10 03:21:18 UTC 2010
Module: Mesa
Branch: master
Commit: 7a57af6d11a8fae9838a0d2e42eac6200b8f027e
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7a57af6d11a8fae9838a0d2e42eac6200b8f027e
Author: Brian Paul <brianp at vmware.com>
Date: Sun May 9 19:21:53 2010 -0600
mesa: added comments for signed 16-bit formats
---
src/mesa/main/formats.h | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/mesa/main/formats.h b/src/mesa/main/formats.h
index 97e1fc5..bfd4f20 100644
--- a/src/mesa/main/formats.h
+++ b/src/mesa/main/formats.h
@@ -142,10 +142,10 @@ typedef enum
MESA_FORMAT_SIGNED_RGBX8888, /* RRRR RRRR GGGG GGGG BBBB BBBB xxxx xxxx */
MESA_FORMAT_SIGNED_RGBA8888, /* RRRR RRRR GGGG GGGG BBBB BBBB AAAA AAAA */
MESA_FORMAT_SIGNED_RGBA8888_REV,/*AAAA AAAA BBBB BBBB GGGG GGGG RRRR RRRR */
- MESA_FORMAT_SIGNED_R_16,
- MESA_FORMAT_SIGNED_RG_16,
- MESA_FORMAT_SIGNED_RGB_16,
- MESA_FORMAT_SIGNED_RGBA_16,
+ MESA_FORMAT_SIGNED_R_16, /* ushort[0]=R */
+ MESA_FORMAT_SIGNED_RG_16, /* ushort[0]=R, ushort[1]=G */
+ MESA_FORMAT_SIGNED_RGB_16, /* ushort[0]=R, ushort[1]=G, ushort[2]=B */
+ MESA_FORMAT_SIGNED_RGBA_16, /* ... */
/*@}*/
MESA_FORMAT_COUNT
More information about the mesa-commit
mailing list