r600g: save vertex buffers in blitter
authorMarek Olšák <maraeo@gmail.com>
Wed, 9 Jun 2010 00:19:59 +0000 (02:19 +0200)
committerMarek Olšák <maraeo@gmail.com>
Wed, 9 Jun 2010 00:26:44 +0000 (02:26 +0200)
src/gallium/drivers/r600/r600_blit.c

index 80c3069cf5bb0c1193c3dfe1eefb4ab08a8e5362..1dcb19babc96ba80c82fab21d56de88e2749b390 100644 (file)
@@ -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,