From: Brian Paul Date: Tue, 29 Nov 2011 01:09:14 +0000 (-0700) Subject: mesa: add component comments for sRGB formats X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0cbdead62e615dc197b3831941ae311865fa6642;p=mesa.git mesa: add component comments for sRGB formats --- 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,