commit | a02c5afce8b43b1871b6631f37b64e8c84606056 | [log] [tgz] |
---|---|---|
author | Kenneth Graunke <kenneth@whitecape.org> | Fri Apr 09 17:28:47 2010 -0700 |
committer | Ian Romanick <ian.d.romanick@intel.com> | Wed Apr 28 15:34:52 2010 -0700 |
tree | 4cf3a923f52808e9858ec05f836f90f84a578726 | |
parent | 1168d95109094f171cf05457385381d053a8581e [diff] [blame] |
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 c808052..121104f 100644 --- a/glsl_parser_extras.cpp +++ b/glsl_parser_extras.cpp
@@ -776,12 +776,14 @@ 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;