ir_print_visitor: Remove commas between ir_constant's components.
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 20 Jul 2010 08:23:12 +0000 (01:23 -0700)
committerKenneth 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

index 6f867e32532896a1c7c6e3e606737249a7894f2d..05ac3029922d88cd11369544cba4e3c5e5380826 100644 (file)
@@ -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;