glsl: Comment ast_type_qualifier.flags
authorChad Versace <chad.versace@intel.com>
Wed, 15 Dec 2010 23:58:49 +0000 (15:58 -0800)
committerChad Versace <chad.versace@intel.com>
Tue, 4 Jan 2011 18:49:10 +0000 (10:49 -0800)
src/glsl/ast.h

index a77b522705cce5b237ffe6294621d212a0afe462..cd933cfc58850cd221633d474098707e2af2c294 100644 (file)
@@ -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;