ir_print_visitor: Remove unnecessary parens around array size in types.

This commit is contained in:
Kenneth Graunke 2010-04-09 17:59:51 -07:00 committed by Ian Romanick
parent aecdefa8c0
commit 668d0a992a

View file

@ -30,7 +30,7 @@ print_type(const glsl_type *t)
if (t->base_type == GLSL_TYPE_ARRAY) {
printf("(array ");
print_type(t->fields.array);
printf(" (%u))", t->length);
printf(" %u)", t->length);
} else if (t->base_type == GLSL_TYPE_STRUCT) {
printf("(struct (%s %u ", t->name ? t->name : "@", t->length);
printf("(FINISHME: structure fields go here) ");