i965/vs: Fix access beyond array bounds for non-GRF operands.
authorEric Anholt <eric@anholt.net>
Fri, 23 Sep 2011 20:52:47 +0000 (13:52 -0700)
committerEric Anholt <eric@anholt.net>
Mon, 26 Sep 2011 22:33:42 +0000 (15:33 -0700)
commit39790b6450b770cd402bc08b9416cab67de3dedb
tree121cd4ee45e5ae8b31ba617d3d3c93a05d9619e0
parent8004a1cb95b8a195f3f4bbaa8d39d2f3297167de
i965/vs: Fix access beyond array bounds for non-GRF operands.

Caught by valgrind.  I never saw a segfault from it (probably because
it's hard to have much more of any other file than GRF).
src/mesa/drivers/dri/i965/brw_vec4_copy_propagation.cpp