summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/r600
diff options
context:
space:
mode:
authorAlex Deucher <[email protected]>2009-11-04 14:43:24 -0500
committerAlex Deucher <[email protected]>2009-11-04 14:43:24 -0500
commit70dade8afeadf83c6c993b39d3322e7c9353eea7 (patch)
tree60a35c7272390f30f03ba2229f29b8717bba63de /src/mesa/drivers/dri/r600
parent3040b2ee9dcb5fcf7660ae8ee2cd3f7d86e7da47 (diff)
r600: fix count prediction for IB case
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/r600')
-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 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)
{