ir_to_mesa: Set the swizzle on constant struct src regs.
authorEric Anholt <eric@anholt.net>
Tue, 27 Jul 2010 17:39:40 +0000 (10:39 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 27 Jul 2010 17:41:01 +0000 (10:41 -0700)
commit9a770ee49f8cb82653bb5c1976f7751d9a6b801e
treefe63d2519774c727d14bf967c146a35fbc7cfa4e
parentfdbaca931a504a70d6fec54e2f85caac6281377d
ir_to_mesa: Set the swizzle on constant struct src regs.

MESA_GLSL=nopt now produces believable output for glsl-fs-raytrace.
src/mesa/program/ir_to_mesa.cpp