Eric Anholt
49a5d5c4f5
ir_swizzle_swizzle: Reduce swizzle chains to a single swizzle.
2010-06-01 15:15:04 -07:00
Eric Anholt
b145e90369
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.
2010-06-01 15:15:04 -07:00
Eric Anholt
bdd9b1f3ff
Move optimization pass prototypes to a single header.
2010-05-05 11:47:33 -07:00
Eric Anholt
6255a1f4c6
ir_dead_code_local: Remove redundant assignments within basic blocks.
...
This cleans up a bunch of junk code in some of the GLSL parser tests,
and could potentially help real-world too (particularly after copy
propagation has happened).
2010-05-05 11:08:18 -07:00