projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
74e1802
)
ir_print_visitor: Remove commas between ir_constant's components.
author
Kenneth Graunke
<kenneth@whitecape.org>
Tue, 20 Jul 2010 08:23:12 +0000
(
01:23
-0700)
committer
Kenneth Graunke
<kenneth@whitecape.org>
Wed, 21 Jul 2010 23:38:33 +0000
(16:38 -0700)
The IR reader does not expect commas.
src/glsl/ir_print_visitor.cpp
patch
|
blob
|
history
diff --git
a/src/glsl/ir_print_visitor.cpp
b/src/glsl/ir_print_visitor.cpp
index 6f867e32532896a1c7c6e3e606737249a7894f2d..05ac3029922d88cd11369544cba4e3c5e5380826 100644
(file)
--- a/
src/glsl/ir_print_visitor.cpp
+++ b/
src/glsl/ir_print_visitor.cpp
@@
-272,7
+272,7
@@
void ir_print_visitor::visit(ir_constant *ir)
for (unsigned i = 0; i < ir->type->components(); i++) {
if (i != 0)
- printf("
,
");
+ printf(" ");
switch (base_type->base_type) {
case GLSL_TYPE_UINT: printf("%u", ir->value.u[i]); break;