summaryrefslogtreecommitdiff
path: root/src/mesa/drivers
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2009-11-04 14:43:24 -0500
committerAlex Deucher <alexdeucher@gmail.com>2009-11-04 14:43:24 -0500
commit70dade8afeadf83c6c993b39d3322e7c9353eea7 (patch)
tree60a35c7272390f30f03ba2229f29b8717bba63de /src/mesa/drivers
parent3040b2ee9dcb5fcf7660ae8ee2cd3f7d86e7da47 (diff)
r600: fix count prediction for IB case
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/dri/r600/r700_render.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/r600/r700_render.c b/src/mesa/drivers/dri/r600/r700_render.c
index 268bfd8bf0..b20b129d17 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)
{