diff options
author | Kenneth Graunke <kenneth@whitecape.org> | 2010-03-26 01:20:08 -0700 |
---|---|---|
committer | Ian Romanick <ian.d.romanick@intel.com> | 2010-03-26 14:00:59 -0700 |
commit | affc1413ac9f1f077a4ba1a1b7135f73d7a71167 (patch) | |
tree | a3abeeb7691c088d251bf1f696f5f8cf717f26b5 /ir_print_visitor.h | |
parent | fb9fb5f51deca28ed1ec7b71759fb71fc26a0ab6 (diff) |
Move swizzles out of ir_dereference and into their own class.
Also turn generate_swizzle into a static "create" method of the new
class; we'll want to use it for the IR reader as well.
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Diffstat (limited to 'ir_print_visitor.h')
-rw-r--r-- | ir_print_visitor.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ir_print_visitor.h b/ir_print_visitor.h index a4309c4f2a..8fd684eb92 100644 --- a/ir_print_visitor.h +++ b/ir_print_visitor.h @@ -58,6 +58,7 @@ public: virtual void visit(ir_function_signature *); virtual void visit(ir_function *); virtual void visit(ir_expression *); + virtual void visit(ir_swizzle *); virtual void visit(ir_dereference *); virtual void visit(ir_assignment *); virtual void visit(ir_constant *); |