From: Marek Olšák Date: Wed, 9 Jun 2010 00:19:59 +0000 (+0200) Subject: r600g: save vertex buffers in blitter X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=eee570a0fe4599dad7946ed56b5b8d039edeaa18;p=mesa.git r600g: save vertex buffers in blitter --- diff --git a/src/gallium/drivers/r600/r600_blit.c b/src/gallium/drivers/r600/r600_blit.c index 80c3069cf5b..1dcb19babc9 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,