r300g: always emit the correct max vertex index to avoid DRM errors
authorMarek Olšák <maraeo@gmail.com>
Fri, 26 Feb 2010 23:37:01 +0000 (00:37 +0100)
committerMarek Olšák <maraeo@gmail.com>
Sat, 27 Feb 2010 17:39:35 +0000 (18:39 +0100)
commit93da1522098145f0e7ff9d4188050728b075b4a1
treea7641f180354d4fe08192daaf81ff5ef857ff67e
parentdba7ad895333b9b0988239266a217edeebe6a3b3
r300g: always emit the correct max vertex index to avoid DRM errors

Fixing bizarre reports that a vertex buffer is not large enough.
src/gallium/drivers/r300/r300_context.h
src/gallium/drivers/r300/r300_render.c
src/gallium/drivers/r300/r300_state.c