summaryrefslogtreecommitdiff
path: root/ir_visitor.h
diff options
context:
space:
mode:
authorKenneth Graunke <kenneth@whitecape.org>2010-03-26 01:20:08 -0700
committerIan Romanick <ian.d.romanick@intel.com>2010-03-26 14:00:59 -0700
commitaffc1413ac9f1f077a4ba1a1b7135f73d7a71167 (patch)
treea3abeeb7691c088d251bf1f696f5f8cf717f26b5 /ir_visitor.h
parentfb9fb5f51deca28ed1ec7b71759fb71fc26a0ab6 (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_visitor.h')
-rw-r--r--ir_visitor.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ir_visitor.h b/ir_visitor.h
index 8ea416e..76981f7 100644
--- a/ir_visitor.h
+++ b/ir_visitor.h
@@ -49,6 +49,7 @@ public:
virtual void visit(class ir_function_signature *) = 0;
virtual void visit(class ir_function *) = 0;
virtual void visit(class ir_expression *) = 0;
+ virtual void visit(class ir_swizzle *) = 0;
virtual void visit(class ir_dereference *) = 0;
virtual void visit(class ir_assignment *) = 0;
virtual void visit(class ir_constant *) = 0;