ir_print_visitor: Remove commas between ir_constant's components.
The IR reader does not expect commas.
This commit is contained in:
@@ -272,7 +272,7 @@ void ir_print_visitor::visit(ir_constant *ir)
|
|||||||
|
|
||||||
for (unsigned i = 0; i < ir->type->components(); i++) {
|
for (unsigned i = 0; i < ir->type->components(); i++) {
|
||||||
if (i != 0)
|
if (i != 0)
|
||||||
printf(", ");
|
printf(" ");
|
||||||
|
|
||||||
switch (base_type->base_type) {
|
switch (base_type->base_type) {
|
||||||
case GLSL_TYPE_UINT: printf("%u", ir->value.u[i]); break;
|
case GLSL_TYPE_UINT: printf("%u", ir->value.u[i]); break;
|
||||||
|
Reference in New Issue
Block a user