i965: Store the byte address in the VS constant buffer as an integer.
authorEric Anholt <eric@anholt.net>
Tue, 7 Sep 2010 19:53:19 +0000 (12:53 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 7 Sep 2010 20:00:22 +0000 (13:00 -0700)
commit24c12e6c7f8aa8c2f4c163d23d740b070bfabfc3
tree9ef700af26932f0212ac8ec9cdb2fdc40cd3e6bc
parent32b84ef4ca50998914184fc4600d8e43674a9a22
i965: Store the byte address in the VS constant buffer as an integer.

We carefully multiplied our two ints (since we want to be precise
after all) then stored them in a float, which is not specced to really
work, in addition to wasting precision.  Fixes
vp-arl-constant-array-huge-* things since the assertions were added.
src/mesa/drivers/dri/i965/brw_vs_emit.c