mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 04:20:08 +01:00
ir_print_visitor: Remove unnecessary parens around array size in types.
This commit is contained in:
parent
aecdefa8c0
commit
668d0a992a
1 changed files with 1 additions and 1 deletions
|
|
@ -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) ");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue