projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e363ec1
)
r300: Fix emit prediction to account scissor emitting correctly.
author
Pauli Nieminen
<suokkos@gmail.com>
Thu, 27 Aug 2009 23:04:00 +0000
(
02:04
+0300)
committer
Pauli Nieminen
<suokkos@gmail.com>
Thu, 27 Aug 2009 23:05:08 +0000
(
02:05
+0300)
src/mesa/drivers/dri/r300/r300_draw.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/r300/r300_draw.c
b/src/mesa/drivers/dri/r300/r300_draw.c
index 56680516c8315046d340b6f5ee4bf78f75c078ab..2e475b1adfaf0223ff511b227ea0992dec8e0298 100644
(file)
--- 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);