From 0cbdead62e615dc197b3831941ae311865fa6642 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Mon, 28 Nov 2011 18:09:14 -0700 Subject: [PATCH] mesa: add component comments for sRGB formats --- src/mesa/main/formats.h | 10 +++++----- 1 file 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, -- 2.30.2