mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 13:48:06 +02:00
r300: Fix emit prediction to account scissor emitting correctly.
This commit is contained in:
parent
e363ec1d08
commit
812ccacabc
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue