Mesa (master): r600g: save vertex buffers in blitter

Marek Olšák mareko at kemper.freedesktop.org
Tue Jun 8 17:27:04 PDT 2010


Module: Mesa
Branch: master
Commit: eee570a0fe4599dad7946ed56b5b8d039edeaa18
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=eee570a0fe4599dad7946ed56b5b8d039edeaa18

Author: Marek Olšák <maraeo at gmail.com>
Date:   Wed Jun  9 02:19:59 2010 +0200

r600g: save vertex buffers in blitter

---

 src/gallium/drivers/r600/r600_blit.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/gallium/drivers/r600/r600_blit.c b/src/gallium/drivers/r600/r600_blit.c
index 80c3069..1dcb19b 100644
--- a/src/gallium/drivers/r600/r600_blit.c
+++ b/src/gallium/drivers/r600/r600_blit.c
@@ -49,6 +49,9 @@ static void r600_blitter_save_states(struct r600_context *rctx)
 					rctx->vertex_elements);
 	util_blitter_save_viewport(rctx->blitter,
 					&rctx->viewport);
+	/* XXX util_blitter_save_clip(rctx->blitter, &rctx->clip); */
+	util_blitter_save_vertex_buffers(rctx->blitter, rctx->nvertex_buffer,
+					 rctx->vertex_buffer);
 }
 
 static void r600_clear(struct pipe_context *ctx, unsigned buffers,



More information about the mesa-commit mailing list