projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1168d95
)
Add parens around printed IR so it's an official list of instructions.
author
Kenneth Graunke
<kenneth@whitecape.org>
Sat, 10 Apr 2010 00:28:47 +0000
(17:28 -0700)
committer
Ian Romanick
<ian.d.romanick@intel.com>
Wed, 28 Apr 2010 22:34:52 +0000
(15:34 -0700)
glsl_parser_extras.cpp
patch
|
blob
|
history
diff --git
a/glsl_parser_extras.cpp
b/glsl_parser_extras.cpp
index c808052ee78c45eb28282997fbf5c82c8cf53aa4..121104f9386bf5b65ba27cb20899298bba67583a 100644
(file)
--- 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;