ARB prog: Fix the order of swizzle application
authorIan Romanick <ian.d.romanick@intel.com>
Thu, 30 Jul 2009 03:07:59 +0000 (20:07 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Thu, 30 Jul 2009 03:07:59 +0000 (20:07 -0700)
commite511633985ebdb423d1addefa1267a03a76da33b
tree2196246927367dd65417ee2b723d33f50192f2ca
parent8a430dd4dad8520a7a37573e03d85cfb6316cb56
ARB prog: Fix the order of swizzle application

The swizzle used to generate the "original" value from the value
stored in the parameter array happens before the swizzle specified in
the instruction.  This fixes problems seen in progs/vp/vp-tris with arl-*.txt.
src/mesa/shader/prog_parameter_layout.c