i965: Upload all vertices used
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 24 Feb 2011 14:06:55 +0000 (14:06 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 1 Mar 2011 09:42:52 +0000 (09:42 +0000)
commit6ddfb322f58c7e00db73e25689ee55ffa1111bd9
tree0e6cb84fbbbe81b5ea2b62ec4e1988828a299f49
parent8b145e23023927ddec7839a9e4498d5a42e3ca29
i965: Upload all vertices used

... and take advantage of start_vertex_bias to trim to [min_index,
max_index] where possible (i.e. when we need to upload all arrays).

Fixes half_float_vertex(misc.fillmode.wireframe)

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=34595
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
src/mesa/drivers/dri/i965/brw_context.h
src/mesa/drivers/dri/i965/brw_draw_upload.c