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

Marek Olšák mareko at kemper.freedesktop.org
Wed Jun 9 00:27:03 UTC 2010


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

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

r300g: save vertex buffers in blitter

---

 src/gallium/drivers/r300/r300_blit.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/src/gallium/drivers/r300/r300_blit.c b/src/gallium/drivers/r300/r300_blit.c
index 49ec51f..cc64fc3 100644
--- a/src/gallium/drivers/r300/r300_blit.c
+++ b/src/gallium/drivers/r300/r300_blit.c
@@ -36,9 +36,8 @@ 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);
-    /* XXX this crashes the driver
     util_blitter_save_vertex_buffers(r300->blitter, r300->vertex_buffer_count,
-                                     r300->vertex_buffer); */
+                                     r300->vertex_buffer);
 }
 
 /* Clear currently bound buffers. */




More information about the mesa-commit mailing list