Mesa (master): gallium: minor comments for util_format_channel_description fields

Brian Paul brianp at kemper.freedesktop.org
Tue Sep 13 14:16:38 UTC 2011


Module: Mesa
Branch: master
Commit: 52b9ec727bfeca0cf13078dc352962b58293b2d4
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=52b9ec727bfeca0cf13078dc352962b58293b2d4

Author: Brian Paul <brianp at vmware.com>
Date:   Mon Sep 12 17:04:11 2011 -0600

gallium: minor comments for util_format_channel_description fields

---

 src/gallium/auxiliary/util/u_format.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/gallium/auxiliary/util/u_format.h b/src/gallium/auxiliary/util/u_format.h
index 566fa79..3527103 100644
--- a/src/gallium/auxiliary/util/u_format.h
+++ b/src/gallium/auxiliary/util/u_format.h
@@ -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 */
 };
 
 




More information about the mesa-commit mailing list