i965/vs: Fix constant-indexed array read/write addresses on pre-gen6.
authorEric Anholt <eric@anholt.net>
Tue, 30 Aug 2011 23:40:06 +0000 (16:40 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 7 Sep 2011 01:01:48 +0000 (18:01 -0700)
commit88612e2c1b1580b92d229ec6d2236fe07b32e060
tree2e78065105679e2754615c7c92cb85430eb42fd0
parentbba910373fc6cdca939422d94adfe58b43e41b86
i965/vs: Fix constant-indexed array read/write addresses on pre-gen6.

The second vertex was getting a garbage index.

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