commit | 6491e9593d5cbc5644eb02593a2f562447efdcbb | [log] [tgz] |
---|---|---|
author | Paul Berry <stereotype441@gmail.com> | Fri Jun 03 11:23:31 2011 -0700 |
committer | Brian Paul <brianp@vmware.com> | Fri Jun 03 12:48:49 2011 -0600 |
tree | 5c16dbfc5263e22b0dfea359f7e90d9f5a3b06a1 | |
parent | 26b566e19cbfa189a6a158718f21859c0b7ed090 [diff] |
glsl: fixed printing of structure constants. ir_print_visitor::visit(ir_constant *) was failing to index properly into ir->type->fields.structure, so the first field name was being reprinted for every field in the structure. Signed-off-by: Brian Paul <brianp@vmware.com>