r300: make sure indexed rendering doesn't try to use more than the num of vertices
authorJerome Glisse <jglisse@redhat.com>
Wed, 10 Jun 2009 12:59:33 +0000 (14:59 +0200)
committerJerome Glisse <jglisse@redhat.com>
Wed, 10 Jun 2009 12:59:33 +0000 (14:59 +0200)
commit316598b96f07a38752c0c0f534feb025ee2a3235
tree01e6ae81aa01ad946a7639fae0d4c6f47cba44d9
parent18b3cbcede292ce7b90b818b6abb064869072ff3
r300: make sure indexed rendering doesn't try to use more than the num of vertices

When with memory manager we need to make sure the GPU won't try to access
beyond vertex buffer size, do so by enforcing that the maximun index is the
last vertex of the buffer.
src/mesa/drivers/dri/r300/r300_render.c