summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/formats.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2010-05-09 19:21:53 -0600
committerBrian Paul <[email protected]>2010-05-09 21:19:42 -0600
commit7a57af6d11a8fae9838a0d2e42eac6200b8f027e (patch)
treeb24613b2ea797ab8ba2203d194de3b22315534e9 /src/mesa/main/formats.h
parent8ea614832d62554ada44d0a0ef7dc96ec9a8f154 (diff)
mesa: added comments for signed 16-bit formats
Diffstat (limited to 'src/mesa/main/formats.h')
-rw-r--r--src/mesa/main/formats.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mesa/main/formats.h b/src/mesa/main/formats.h
index 97e1fc5df46..bfd4f20337e 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