projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7dd6adb
)
ir_print_visitor: Remove unnecessary parenthesis around variable names.
author
Kenneth Graunke
<kenneth@whitecape.org>
Fri, 9 Apr 2010 23:34:21 +0000
(16:34 -0700)
committer
Ian Romanick
<ian.d.romanick@intel.com>
Wed, 28 Apr 2010 22:34:52 +0000
(15:34 -0700)
ir_print_visitor.cpp
patch
|
blob
|
history
diff --git
a/ir_print_visitor.cpp
b/ir_print_visitor.cpp
index 6eb9a1dc4152cd9b0e8f0d65214c96b9c3c08674..75fc109e1333070062ea9d7b627a795f535946fa 100644
(file)
--- a/
ir_print_visitor.cpp
+++ b/
ir_print_visitor.cpp
@@
-44,7
+44,7
@@
print_type(const glsl_type *t)
void ir_print_visitor::visit(ir_variable *ir)
{
if (deref_depth) {
- printf("
(%s)
", ir->name);
+ printf("
%s
", ir->name);
} else {
printf("(declare ");
@@
-57,7
+57,7
@@
void ir_print_visitor::visit(ir_variable *ir)
cent, inv, mode[ir->mode], interp[ir->interpolation]);
print_type(ir->type);
- printf("
(%s))
", ir->name);
+ printf("
%s)
", ir->name);
}
}