From d612a127ccf12c11204f7f72a332de12f58f85a2 Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Wed, 31 Mar 2010 16:22:06 -0700 Subject: Move type_specifier_to_glsl_type to ast_type_specifier::glsl_type This make is easily accessible from other modules. --- ast.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ast.h') 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; -- cgit v1.2.3