r600: fix count prediction for IB case
authorAlex Deucher <alexdeucher@gmail.com>
Wed, 4 Nov 2009 19:43:24 +0000 (14:43 -0500)
committerAlex Deucher <alexdeucher@gmail.com>
Wed, 4 Nov 2009 19:43:24 +0000 (14:43 -0500)
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
src/mesa/drivers/dri/r600/r700_render.c

index 268bfd8bf0b94bf425710ba3e107f3354451c4fc..b20b129d1709348d1af8d7e1be209de80ae45226 100644 (file)
@@ -379,7 +379,7 @@ static GLuint r700PredictRenderSize(GLcontext* ctx,
 
     dwords = PRE_EMIT_STATE_BUFSZ;
     if (ib)
-           dwords += nr_prims * 14;
+           dwords += nr_prims * 17;
     else {
            for (i = 0; i < nr_prims; ++i)
            {