diff options
author | Ian Romanick <[email protected]> | 2010-04-28 12:01:40 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2010-04-28 18:22:54 -0700 |
commit | 7d82c765a8ac7bdbad4cb445b1d2fd216a6e744d (patch) | |
tree | 14fc668f4a5006a65ffec85bdb361ec6bef73a14 /ir_print_visitor.cpp | |
parent | 35e8e461ca0f3027e650a52d5d2c69583a9ddef9 (diff) |
IR print visitor: Just print the name of structures
Treat structure types like other non-array types. We'll have to print
the structure defintion elsewhere.
Diffstat (limited to 'ir_print_visitor.cpp')
-rw-r--r-- | ir_print_visitor.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/ir_print_visitor.cpp b/ir_print_visitor.cpp index 778a5c16460..f1108c6fe41 100644 --- a/ir_print_visitor.cpp +++ b/ir_print_visitor.cpp @@ -31,10 +31,6 @@ print_type(const glsl_type *t) printf("(array "); print_type(t->fields.array); 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) "); - printf(")"); } else { printf("%s", t->name); } |