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 de3df8874cc6c9712a083655b4ac8355c57a1900..9a8eaf599da1bd9aa3c99c8640248abf0e0e52e4 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) ");