summaryrefslogtreecommitdiffstats
path: root/ast.h
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2010-04-19 15:13:15 -0700
committerIan Romanick <[email protected]>2010-04-28 18:22:53 -0700
commit3455ce614424a5a23a23037e23d0454e476bceea (patch)
tree60a1e97550df11b1cddb9dc62bf960ad0e3ba0e2 /ast.h
parent1f959ab4d68ce7c963f9d5f3edc64b457565c291 (diff)
Begin converting structure definitions to IR
Diffstat (limited to 'ast.h')
-rw-r--r--ast.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/ast.h b/ast.h
index d899fb1d090..41787f5c1c3 100644
--- a/ast.h
+++ b/ast.h
@@ -289,6 +289,9 @@ public:
ast_struct_specifier(char *identifier, ast_node *declarator_list);
virtual void print(void) const;
+ virtual ir_rvalue *hir(exec_list *instructions,
+ struct _mesa_glsl_parse_state *state);
+
char *name;
struct simple_node declarations;
};
@@ -378,6 +381,8 @@ public:
virtual void print(void) const;
+ ir_rvalue *hir(exec_list *, struct _mesa_glsl_parse_state *);
+
enum ast_types type_specifier;
const char *type_name;