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:
parent
554043bff7
commit
42f2880ffd
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue