radeon: fix prediction for r100 inline vert/elt emits.

On r100 we emit the indices inline so we need to account
for that in the emission size.
This commit is contained in:
Dave Airlie 2010-01-11 13:21:47 +10:00 committed by Dave Airlie
parent 554043bff7
commit 42f2880ffd
1 changed files with 1 additions and 0 deletions

View File

@ -412,6 +412,7 @@ static GLuint radeonEnsureEmitSize( GLcontext * ctx , GLuint inputs )
space_required += vbuf;
else
space_required += index + elts;
space_required += VB->Primitive[i].count * 3;
space_required += AOS_BUFSZ(nr_aos);
}
space_required += SCISSOR_BUFSZ;