summaryrefslogtreecommitdiffstats
path: root/glsl_parser_extras.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'glsl_parser_extras.cpp')
-rw-r--r--glsl_parser_extras.cpp9
1 files changed, 1 insertions, 8 deletions
diff --git a/glsl_parser_extras.cpp b/glsl_parser_extras.cpp
index efcb125dfc5..4255d2d66e7 100644
--- a/glsl_parser_extras.cpp
+++ b/glsl_parser_extras.cpp
@@ -789,14 +789,7 @@ main(int argc, char **argv)
printf("\n\n");
if (!state.error) {
- printf("(\n");
- foreach_iter(exec_list_iterator, iter, instructions) {
- ir_print_visitor v;
-
- ((ir_instruction *)iter.get())->accept(& v);
- printf("\n");
- }
- printf("\n)");
+ _mesa_print_ir(&instructions, &state);
}
delete state.symbols;