summaryrefslogtreecommitdiff
path: root/src/glsl/ir_noop_swizzle.cpp
AgeCommit message (Collapse)Author
2010-08-13glsl2: Add a pass to strip out noop swizzles.Eric Anholt
With the glsl2-965 branch, the optimization of glsl-algebraic-rcp-rcp regressed due to noop swizzles hiding information from ir_algebraic. This cleans up those noop swizzles for us.