Mesa (master): glsl: Comment ast_type_qualifier.flags

Chad Versace chadversary at kemper.freedesktop.org
Tue Jan 4 18:51:27 UTC 2011


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

Author: Chad Versace <chad.versace at intel.com>
Date:   Wed Dec 15 15:58:49 2010 -0800

glsl: Comment ast_type_qualifier.flags

---

 src/glsl/ast.h |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/src/glsl/ast.h b/src/glsl/ast.h
index a77b522..cd933cf 100644
--- a/src/glsl/ast.h
+++ b/src/glsl/ast.h
@@ -349,7 +349,11 @@ struct ast_type_qualifier {
 	  * qualifier is used.
 	  */
 	 unsigned explicit_location:1;
-      } q;
+      }
+      /** \brief Set of flags, accessed by name. */
+      q;
+
+      /** \brief Set of flags, accessed as a bitmask. */
       unsigned i;
    } flags;
 




More information about the mesa-commit mailing list