diff options
author | Kenneth Graunke <kenneth@whitecape.org> | 2010-04-09 17:28:47 -0700 |
---|---|---|
committer | Ian Romanick <ian.d.romanick@intel.com> | 2010-04-28 15:34:52 -0700 |
commit | a02c5afce8b43b1871b6631f37b64e8c84606056 (patch) | |
tree | 4cf3a923f52808e9858ec05f836f90f84a578726 /glsl_parser_extras.cpp | |
parent | 1168d95109094f171cf05457385381d053a8581e (diff) |
Add parens around printed IR so it's an official list of instructions.
Diffstat (limited to 'glsl_parser_extras.cpp')
-rw-r--r-- | glsl_parser_extras.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/glsl_parser_extras.cpp b/glsl_parser_extras.cpp index c808052ee7..121104f938 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; |