summaryrefslogtreecommitdiff
path: root/glsl_parser_extras.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'glsl_parser_extras.cpp')
-rw-r--r--glsl_parser_extras.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/glsl_parser_extras.cpp b/glsl_parser_extras.cpp
index f30b7d8eb6..602f2cc5b2 100644
--- a/glsl_parser_extras.cpp
+++ b/glsl_parser_extras.cpp
@@ -698,12 +698,10 @@ main(int argc, char **argv)
((ast_node *)ptr)->print();
}
-#if 0
make_empty_list(& instructions);
foreach (ptr, & state.translation_unit) {
- _mesa_ast_to_hir(ptr, &instructions, &state);
+ ((ast_node *)ptr)->hir(&instructions, &state);
}
-#endif
_mesa_symbol_table_dtor(state.symbols);