projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
554043b
)
radeon: fix prediction for r100 inline vert/elt emits.
author
Dave Airlie
<airlied@redhat.com>
Mon, 11 Jan 2010 03:21:47 +0000
(13:21 +1000)
committer
Dave Airlie
<airlied@itt42.(none)>
Mon, 11 Jan 2010 03:24:59 +0000
(13:24 +1000)
On r100 we emit the indices inline so we need to account
for that in the emission size.
src/mesa/drivers/dri/radeon/radeon_tcl.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/radeon/radeon_tcl.c
b/src/mesa/drivers/dri/radeon/radeon_tcl.c
index b334ea05e5b1ce2beb267b04cc34154ef256ab83..cd02bfbcf5d0ebdd1c23ca3a9fcfb28bc3c773a8 100644
(file)
--- a/
src/mesa/drivers/dri/radeon/radeon_tcl.c
+++ b/
src/mesa/drivers/dri/radeon/radeon_tcl.c
@@
-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;