From: Brian Paul Date: Mon, 10 May 2010 01:21:53 +0000 (-0600) Subject: mesa: added comments for signed 16-bit formats X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7a57af6d11a8fae9838a0d2e42eac6200b8f027e;p=mesa.git mesa: added comments for signed 16-bit formats --- 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