summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2010-06-09 02:19:59 +0200
committerMarek Olšák <[email protected]>2010-06-09 02:26:44 +0200
commiteee570a0fe4599dad7946ed56b5b8d039edeaa18 (patch)
treef69323fa2b0bbfb491bd73aa4703190064c48604 /src/gallium/drivers/r600
parent26f3f13fa1aff4e067110e941bb8d55e4f4d6b8a (diff)
r600g: save vertex buffers in blitter
Diffstat (limited to 'src/gallium/drivers/r600')
-rw-r--r--src/gallium/drivers/r600/r600_blit.c3
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 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,