i965: Fix VS constant buffer value loading.
authorEric Anholt <eric@anholt.net>
Tue, 10 Nov 2009 22:11:46 +0000 (14:11 -0800)
committerEric Anholt <eric@anholt.net>
Tue, 10 Nov 2009 22:44:40 +0000 (14:44 -0800)
commit1220aba99bc78290bb89ade649719508e3031e4b
treeebae402605307db51d1674b41a386a68526d4650
parente5ffb9f5ea03c2acd148222259a334cde0f3afc9
i965: Fix VS constant buffer value loading.

Previously, we'd load linearly from ParameterValues[0] for the constants,
though ParameterValues[1] may not equal ParameterValues[0] + 4.  Additionally,
the STATE_VAL type paramters didn't get updated.

Fixes piglit vp-constant-array-huge.vpfp and ET:QW object locations.

Bug #23226.
src/mesa/drivers/dri/i965/brw_vs_surface_state.c