mesa: added comments for signed 16-bit formats
authorBrian Paul <brianp@vmware.com>
Mon, 10 May 2010 01:21:53 +0000 (19:21 -0600)
committerBrian Paul <brianp@vmware.com>
Mon, 10 May 2010 03:19:42 +0000 (21:19 -0600)
src/mesa/main/formats.h

index 97e1fc5df465a070752ff488a3a44474f49f13cb..bfd4f20337e5f5a106b1a1da08ea7d46ea4871fb 100644 (file)
@@ -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