projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
19b5769
)
nv40: ensure vb relocs don't end up on list for swtnl
author
Ben Skeggs
<skeggsb@gmail.com>
Fri, 21 Mar 2008 12:03:25 +0000
(23:03 +1100)
committer
Ben Skeggs
<skeggsb@gmail.com>
Fri, 21 Mar 2008 12:03:25 +0000
(23:03 +1100)
Avoids bo code bailing out because of mapped buffers being validated.
src/gallium/drivers/nv40/nv40_draw.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/nv40/nv40_draw.c
b/src/gallium/drivers/nv40/nv40_draw.c
index 7c5e0df5b85acb23f7d2d79c3937f92f1d53dde5..d05e5ad19360c2e3cc1e788eda1e334e2a18ff1e 100644
(file)
--- a/
src/gallium/drivers/nv40/nv40_draw.c
+++ b/
src/gallium/drivers/nv40/nv40_draw.c
@@
-236,6
+236,7
@@
nv40_draw_elements_swtnl(struct pipe_context *pipe,
if (!nv40_state_validate_swtnl(nv40))
return FALSE;
+ nv40->dirty &= ~(1ULL << NV40_STATE_VTXBUF);
nv40_state_emit(nv40);
for (i = 0; i < PIPE_ATTRIB_MAX; i++) {