From: Alex Deucher Date: Wed, 4 Nov 2009 19:43:24 +0000 (-0500) Subject: r600: fix count prediction for IB case X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=70dade8afeadf83c6c993b39d3322e7c9353eea7;p=mesa.git r600: fix count prediction for IB case Signed-off-by: Alex Deucher --- diff --git a/src/mesa/drivers/dri/r600/r700_render.c b/src/mesa/drivers/dri/r600/r700_render.c index 268bfd8bf0b..b20b129d170 100644 --- a/src/mesa/drivers/dri/r600/r700_render.c +++ b/src/mesa/drivers/dri/r600/r700_render.c @@ -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) {