From: Kenneth Graunke Date: Sat, 10 Apr 2010 00:28:47 +0000 (-0700) Subject: Add parens around printed IR so it's an official list of instructions. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a02c5afce8b43b1871b6631f37b64e8c84606056;p=mesa.git Add parens around printed IR so it's an official list of instructions. --- 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;