ir_to_mesa: When generating a swizzle, respect the reg's current swizzle.
authorEric Anholt <eric@anholt.net>
Wed, 30 Jun 2010 22:26:41 +0000 (15:26 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 30 Jun 2010 22:30:00 +0000 (15:30 -0700)
commit698b84444343189357ad252856d3c5493e47e4fa
tree18255017e70c762f4367a40a3fc5d7035469096c
parent77049a702ad54e09c4102fe8c964e069944f83e5
ir_to_mesa: When generating a swizzle, respect the reg's current swizzle.

Fixes depth-tex-modes-glsl.
src/mesa/shader/ir_to_mesa.cpp