projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1be4ab
)
ensure cmd buffer space
author
Dave Airlie
<airlied@nx6125b.(none)>
Thu, 21 Jun 2007 04:43:53 +0000
(14:43 +1000)
committer
Dave Airlie
<airlied@nx6125b.(none)>
Thu, 21 Jun 2007 04:43:53 +0000
(14:43 +1000)
src/mesa/drivers/dri/r300/r300_swtcl.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/r300/r300_swtcl.c
b/src/mesa/drivers/dri/r300/r300_swtcl.c
index ab85be37f03b6d6f5ba39daf441191407840c62a..dfa02f95232ab8c667d686fadc48321c5e3a193c 100644
(file)
--- a/
src/mesa/drivers/dri/r300/r300_swtcl.c
+++ b/
src/mesa/drivers/dri/r300/r300_swtcl.c
@@
-384,6
+384,7
@@
static void flush_last_swtcl_prim( r300ContextPtr rmesa )
if (rmesa->dma.current.start != rmesa->dma.current.ptr) {
+ r300EnsureCmdBufSpace( rmesa, rmesa->hw.max_state_size + (8*sizeof(int)), __FUNCTION__);
r300EmitVertexAOS( rmesa,
rmesa->swtcl.vertex_size,
current_offset);