aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChad Versace <[email protected]>2010-12-15 15:58:49 -0800
committerChad Versace <[email protected]>2011-01-04 10:49:10 -0800
commit4a62a1c366703c5df10fd1d96f46ecb03ce45138 (patch)
tree040fb0579dd2c80a84ff76e91de704fde6e1479c
parentb7b2791c6bea6ad0db76fdad9a217aa1efffea93 (diff)
glsl: Comment ast_type_qualifier.flags
-rw-r--r--src/glsl/ast.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/glsl/ast.h b/src/glsl/ast.h
index a77b522705c..cd933cfc588 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;