Module: Mesa Branch: master Commit: 812ccacabcc6af300cf476d7f82ecb75d4982cd6 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=812ccacabcc6af300cf476d7f82ecb75d4982cd6
Author: Pauli Nieminen <suok...@gmail.com> Date: Fri Aug 28 02:04:00 2009 +0300 r300: Fix emit prediction to account scissor emitting correctly. --- src/mesa/drivers/dri/r300/r300_draw.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/mesa/drivers/dri/r300/r300_draw.c b/src/mesa/drivers/dri/r300/r300_draw.c index 5668051..2e475b1 100644 --- a/src/mesa/drivers/dri/r300/r300_draw.c +++ b/src/mesa/drivers/dri/r300/r300_draw.c @@ -580,7 +580,7 @@ static GLuint r300PredictTryDrawPrimsSize(GLcontext *ctx, GLuint nr_prims) dwords = 2*CACHE_FLUSH_BUFSZ; dwords += PRE_EMIT_STATE_BUFSZ; dwords += (AOS_BUFSZ(vbuf->num_attribs) - + SCISSORS_BUFSZ + + SCISSORS_BUFSZ*2 + FIREAOS_BUFSZ )*nr_prims; state_size = radeonCountStateEmitSize(&r300->radeon); _______________________________________________ mesa-commit mailing list mesa-commit@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-commit