Move swizzles out of ir_dereference and into their own class.
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 26 Mar 2010 08:20:08 +0000 (01:20 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Fri, 26 Mar 2010 21:00:59 +0000 (14:00 -0700)
commitaffc1413ac9f1f077a4ba1a1b7135f73d7a71167
treea3abeeb7691c088d251bf1f696f5f8cf717f26b5
parentfb9fb5f51deca28ed1ec7b71759fb71fc26a0ab6
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>
ast_to_hir.cpp
glsl_types.cpp
hir_field_selection.cpp
ir.cpp
ir.h
ir_print_visitor.cpp
ir_print_visitor.h
ir_visitor.h