ir_to_mesa: Fix matrix * scalar multiplication.
authorEric Anholt <eric@anholt.net>
Tue, 29 Jun 2010 02:56:53 +0000 (19:56 -0700)
committerEric Anholt <eric@anholt.net>
Mon, 28 Jun 2010 18:14:47 +0000 (11:14 -0700)
commit3f3f41357d33893d01213b37c6d92bcb435b0eeb
tree14e0cf0414dc8883196c444b980ddae617026f94
parentad2dc740b95f91f66d57dffe2840dffdefce1c1a
ir_to_mesa: Fix matrix * scalar multiplication.

We're accessing in terms of columns, so we need to do MUL/MAD/MAD/MAD
instead of DP4s.

Fixes:
glsl-fs-exp2
glsl-fs-log2
glsl-fs-mix-constant
glsl-fs-sqrt-zero
glsl-vs-sqrt-zero
src/mesa/shader/ir_to_mesa.cpp