i965/vs: Fix ir_swizzle handling.
authorEric Anholt <eric@anholt.net>
Fri, 5 Aug 2011 23:37:18 +0000 (16:37 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 16 Aug 2011 20:04:41 +0000 (13:04 -0700)
commitbb468fc1ede9b0a5231ebfaa51df444502d33654
tree77e2b6653a6fe6ada80ce4a54b050dda6459c441
parent78fac1892a3a7a90eb7baf78903d70649028d27a
i965/vs: Fix ir_swizzle handling.

I decided to refactor it a bit in adapting ir_to_mesa.cpp code, and
mangled it.  Fixes glsl-vs-cross-2.
src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp