aboutsummaryrefslogtreecommitdiffstats
path: root/src/glsl/ir_noop_swizzle.cpp
Commit message (Collapse)AuthorAgeFilesLines
* glsl2: Add a pass to strip out noop swizzles.Eric Anholt2010-08-131-0/+80
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.