gallium: minor comments for util_format_channel_description fields
authorBrian Paul <brianp@vmware.com>
Mon, 12 Sep 2011 23:04:11 +0000 (17:04 -0600)
committerBrian Paul <brianp@vmware.com>
Tue, 13 Sep 2011 14:14:31 +0000 (08:14 -0600)
src/gallium/auxiliary/util/u_format.h

index 566fa79e78162e548053e262f6eee2e3404ee2ba..352710310c52534cfd0bed096a4f1b25ef35a7da 100644 (file)
@@ -119,9 +119,9 @@ enum util_format_colorspace {
 
 struct util_format_channel_description
 {
-   unsigned type:6;
+   unsigned type:6;        /**< UTIL_FORMAT_TYPE_x */
    unsigned normalized:1;
-   unsigned size:9;
+   unsigned size:9;        /**< bits per channel */
 };