i965/vs: Fix message setup for array read/writes on pre-gen6.
authorEric Anholt <eric@anholt.net>
Tue, 30 Aug 2011 23:47:43 +0000 (16:47 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 7 Sep 2011 01:01:51 +0000 (18:01 -0700)
commitddf8e602a774ecfd1b660e398dd9bf763d86a074
tree4b74ec4041a080bb89548193391a49d838d3a598
parent88612e2c1b1580b92d229ec6d2236fe07b32e060
i965/vs: Fix message setup for array read/writes on pre-gen6.

We were passing an MRF as the source argument, instead of using the
implied move and putting the MRF number in the proper place in the
instruction encoding.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_vec4_emit.cpp