summaryrefslogtreecommitdiffstats
path: root/src/glsl/ir_print_visitor.cpp
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2010-07-20 01:23:12 -0700
committerKenneth Graunke <[email protected]>2010-07-21 16:38:33 -0700
commit7ea977a15c05f4a638478b7a5b8ca78454cecf41 (patch)
tree79a0c05358e2a1e1baa22f7a19e82693aeeb1635 /src/glsl/ir_print_visitor.cpp
parent74e1802f5dd8921750851abc6128e4073602d405 (diff)
ir_print_visitor: Remove commas between ir_constant's components.
The IR reader does not expect commas.
Diffstat (limited to 'src/glsl/ir_print_visitor.cpp')
-rw-r--r--src/glsl/ir_print_visitor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/ir_print_visitor.cpp b/src/glsl/ir_print_visitor.cpp
index 6f867e32532..05ac3029922 100644
--- 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;