i965: Set Address Modify Enable in VERTEX_BUFFER on Ivybridge.
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 19 Apr 2011 22:38:10 +0000 (15:38 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 18 May 2011 06:33:01 +0000 (23:33 -0700)
commit62b79b4bb9d8a4a8679c3d1e1f5455ce33d7b90a
treefef9397a0a5cc9d31bf2bab48155eb9baa4c8975
parent09d881bf7420c97a0f684283c24b8ec3e42404ff
i965: Set Address Modify Enable in VERTEX_BUFFER on Ivybridge.

Otherwise, Ivybridge seems to ignore the newly supplied data, giving us
rubbish for vertices.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/i965/brw_defines.h
src/mesa/drivers/dri/i965/brw_draw_upload.c