From a02c5afce8b43b1871b6631f37b64e8c84606056 Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Fri, 9 Apr 2010 17:28:47 -0700 Subject: [PATCH] Add parens around printed IR so it's an official list of instructions. --- glsl_parser_extras.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/glsl_parser_extras.cpp b/glsl_parser_extras.cpp index c808052ee78..121104f9386 100644 --- a/glsl_parser_extras.cpp +++ b/glsl_parser_extras.cpp @@ -776,12 +776,14 @@ 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)"); } delete state.symbols; -- 2.30.2