ir_print_visitor: Remove unnecessary parens around array size in types.
authorKenneth Graunke <kenneth@whitecape.org>
Sat, 10 Apr 2010 00:59:51 +0000 (17:59 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Wed, 28 Apr 2010 22:34:52 +0000 (15:34 -0700)
ir_print_visitor.cpp

index de3df88..9a8eaf5 100644 (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) ");