summaryrefslogtreecommitdiff
path: root/ast.h
diff options
context:
space:
mode:
authorIan Romanick <ian.d.romanick@intel.com>2010-03-31 16:22:06 -0700
committerIan Romanick <ian.d.romanick@intel.com>2010-03-31 16:22:06 -0700
commitd612a127ccf12c11204f7f72a332de12f58f85a2 (patch)
treef6418b858b0919fbca3984525ec704c407389554 /ast.h
parent615adcda8a27783bac52f25fac9850a75d792c84 (diff)
Move type_specifier_to_glsl_type to ast_type_specifier::glsl_type
This make is easily accessible from other modules.
Diffstat (limited to 'ast.h')
-rw-r--r--ast.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ast.h b/ast.h
index 8e904bccc9..d21be7e7a0 100644
--- a/ast.h
+++ b/ast.h
@@ -375,6 +375,10 @@ public:
/* empty */
}
+ const struct glsl_type *glsl_type(const char **name,
+ struct _mesa_glsl_parse_state *state)
+ const;
+
virtual void print(void) const;
enum ast_types type_specifier;