diff options
author | Ian Romanick <[email protected]> | 2010-03-10 09:55:22 -0800 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2010-03-10 09:55:22 -0800 |
commit | d949a9afb0a01e9678a4343f66b056b41a2e48a9 (patch) | |
tree | a72122d34c87a5def04b6f703cdca3f78335704b /glsl_parser_extras.cpp | |
parent | 8e6cd3bf54132d64a1f39df05c9392b46eece2a1 (diff) |
Move top-level AST to HIR conversion to _mesa_ast_to_hir
Diffstat (limited to 'glsl_parser_extras.cpp')
-rw-r--r-- | glsl_parser_extras.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/glsl_parser_extras.cpp b/glsl_parser_extras.cpp index 222f06b5263..d066ca3cd08 100644 --- a/glsl_parser_extras.cpp +++ b/glsl_parser_extras.cpp @@ -718,9 +718,7 @@ main(int argc, char **argv) ((ast_node *)ptr)->print(); } - foreach (ptr, & state.translation_unit) { - ((ast_node *)ptr)->hir(&instructions, &state); - } + _mesa_ast_to_hir(&instructions, &state); printf("\n\n"); foreach_iter(exec_list_iterator, iter, instructions) { |