r600g: add index_bias to index buffer bounds
authorMarek Olšák <maraeo@gmail.com>
Mon, 26 Sep 2011 13:03:43 +0000 (15:03 +0200)
committerMarek Olšák <maraeo@gmail.com>
Mon, 26 Sep 2011 13:25:05 +0000 (15:25 +0200)
commit44afac04eaac08eb49938001a65363bef6bd3d3b
treefbfbc3e9ea8357bf193b30acb804ffd6e77f918a
parent60a77cf316a90cb5be4f73495c2545b3d49e5ca1
r600g: add index_bias to index buffer bounds

This fixes ARB_draw_elements_base_vertex with max_index != ~0.

NOTE: This is a candidate for the 7.11 branch.
src/gallium/drivers/r600/r600_state_common.c