ir_print_visitor: Remove unnecessary parens around array size in types.
This commit is contained in:
committed by
Ian Romanick
parent
aecdefa8c0
commit
668d0a992a
@@ -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) ");
|
||||
|
||||
Reference in New Issue
Block a user