projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64aa67a
)
r300g: save vertex buffers around u_blitter calls
author
Luca Barbieri
<luca@luca-barbieri.com>
Sun, 18 Apr 2010 12:51:38 +0000
(14:51 +0200)
committer
Luca Barbieri
<luca@luca-barbieri.com>
Sun, 18 Apr 2010 13:29:23 +0000
(15:29 +0200)
Not strictly needed by the Mesa state tracker, but needed in general.
Only compile tested.
src/gallium/drivers/r300/r300_blit.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/r300/r300_blit.c
b/src/gallium/drivers/r300/r300_blit.c
index e84b79ae9021adefcc37c1e03de321ffafce02f2..37fbd4504f7254c48a051c7eb420827453acf169 100644
(file)
--- a/
src/gallium/drivers/r300/r300_blit.c
+++ b/
src/gallium/drivers/r300/r300_blit.c
@@
-37,6
+37,7
@@
static void r300_blitter_save_states(struct r300_context* r300)
util_blitter_save_viewport(r300->blitter, &r300->viewport);
util_blitter_save_clip(r300->blitter, &r300->clip);
util_blitter_save_vertex_elements(r300->blitter, r300->velems);
+ util_blitter_save_vertex_buffers(r300->blitter, r300->vertex_buffer_count, r300->vertex_buffer);
}
/* Clear currently bound buffers. */