diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2009-11-04 14:43:24 -0500 |
---|---|---|
committer | Alex Deucher <alexdeucher@gmail.com> | 2009-11-04 14:43:24 -0500 |
commit | 70dade8afeadf83c6c993b39d3322e7c9353eea7 (patch) | |
tree | 60a35c7272390f30f03ba2229f29b8717bba63de /src/mesa/drivers | |
parent | 3040b2ee9dcb5fcf7660ae8ee2cd3f7d86e7da47 (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.c | 2 |
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) { |