glsl: Fix copy'n'wasted ir_noop_swizzle conditions.
authorEric Anholt <eric@anholt.net>
Wed, 22 Sep 2010 18:43:58 +0000 (11:43 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 22 Sep 2010 20:09:51 +0000 (13:09 -0700)
commit3ffab367685c0e0c7ce4d01a3b9b934cb0b15883
tree944a03c1cf2aa3d589443ef04b34984d9f4fac30
parentb39e6f33b60ef9bbaf81f320aaca6a440d8a6a8f
glsl: Fix copy'n'wasted ir_noop_swizzle conditions.

It considered .xyyy a noop for vec4 instead of .xyzw, and similar for vec3.
src/glsl/ir_noop_swizzle.cpp