r600: fix vertex buffer size calculation
authorAndre Maasikas <amaasikas@gmail.com>
Thu, 26 Aug 2010 12:22:21 +0000 (15:22 +0300)
committerAndre Maasikas <amaasikas@gmail.com>
Thu, 26 Aug 2010 13:55:21 +0000 (16:55 +0300)
commit0599509fc4e21a69bcbf121deacbc631c38ccfa2
treedcf87e0b3bba8b32d1793d121d05c055039de70e
parent90437330e2886fcd351dd11ee0e5aa3e8b523fdc
r600: fix vertex buffer size calculation

when we dont know max_index we cannot calculate vb size from count
anymore - just use the bo size.
Also added an assert to remind that we dont handle GL_INT GL_DOUBLE
upload when we dont' know max_index - will fix later
src/mesa/drivers/dri/r600/r700_chip.c
src/mesa/drivers/dri/r600/r700_render.c