r600: make sure the number of indices is valid
authorAlex Deucher <alexdeucher@gmail.com>
Mon, 17 Aug 2009 21:47:27 +0000 (17:47 -0400)
committerAlex Deucher <alexdeucher@gmail.com>
Mon, 17 Aug 2009 21:47:27 +0000 (17:47 -0400)
commit66c632b5a1fe165718cc1fe3f2f9030ed05e4d01
treee01c8b6df64bef40da353b250446320f7817785b
parentc3380ded10200f2df0cfba4abbe9a9eb892f7cbb
r600: make sure the number of indices is valid

make sure the number of indices is valid for the
requested prim type.  glxgears sends invalid
quad strips with only 2 indices for example.
src/mesa/drivers/dri/r600/r700_render.c