ir_vec_index_to_swizzle: Pass to convert indexing of vectors to swizzles.
authorEric Anholt <eric@anholt.net>
Tue, 11 May 2010 18:31:09 +0000 (11:31 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 1 Jun 2010 22:15:04 +0000 (15:15 -0700)
commitb145e903694fa932ab1e0d955e889555193ab604
treece6f4aab586b6fcffde5820242f127be9814f58c
parentf8bb17260a6afb48534ec70dc9d5584851d7e3c2
ir_vec_index_to_swizzle: Pass to convert indexing of vectors to swizzles.

This should remove the burden of handling constant vector indexing
well from backend codegen, and could help with swizzle optimizations.
Makefile.am
glsl_parser_extras.cpp
ir.h
ir_optimization.h
ir_vec_index_to_swizzle.cpp [new file with mode: 0644]