summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2011-11-28 18:09:14 -0700
committerBrian Paul <[email protected]>2011-11-28 18:10:30 -0700
commit0cbdead62e615dc197b3831941ae311865fa6642 (patch)
tree4128e97177359a65c81889d69350b9974bce2f4e /src/mesa/main
parentae70caf7eb708351ee93b35926142e503be79d39 (diff)
mesa: add component comments for sRGB formats
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/formats.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mesa/main/formats.h b/src/mesa/main/formats.h
index 12c5cb6746c..b22b07338b3 100644
--- a/src/mesa/main/formats.h
+++ b/src/mesa/main/formats.h
@@ -110,11 +110,11 @@ typedef enum
* \name 8-bit/channel sRGB formats
*/
/*@{*/
- MESA_FORMAT_SRGB8,
- MESA_FORMAT_SRGBA8,
- MESA_FORMAT_SARGB8,
- MESA_FORMAT_SL8,
- MESA_FORMAT_SLA8,
+ MESA_FORMAT_SRGB8, /* RRRR RRRR GGGG GGGG BBBB BBBB */
+ MESA_FORMAT_SRGBA8, /* RRRR RRRR GGGG GGGG BBBB BBBB AAAA AAAA */
+ MESA_FORMAT_SARGB8, /* AAAA AAAA RRRR RRRR GGGG GGGG BBBB BBBB */
+ MESA_FORMAT_SL8, /* LLLL LLLL */
+ MESA_FORMAT_SLA8, /* AAAA AAAA LLLL LLLL */
MESA_FORMAT_SRGB_DXT1,
MESA_FORMAT_SRGBA_DXT1,
MESA_FORMAT_SRGBA_DXT3,