Mesa (master): r600g: remove redundant assignment of pipe_draw_info in draw_vbo

Marek Olšák mareko at kemper.freedesktop.org
Wed Oct 26 13:54:58 UTC 2011


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

Author: Marek Olšák <maraeo at gmail.com>
Date:   Wed Oct 26 15:52:32 2011 +0200

r600g: remove redundant assignment of pipe_draw_info in draw_vbo

---

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

diff --git a/src/gallium/drivers/r600/r600_state_common.c b/src/gallium/drivers/r600/r600_state_common.c
index 38efde3..f1d88e8 100644
--- a/src/gallium/drivers/r600/r600_state_common.c
+++ b/src/gallium/drivers/r600/r600_state_common.c
@@ -601,8 +601,6 @@ void r600_draw_vbo(struct pipe_context *ctx, const struct pipe_draw_info *dinfo)
 	u_vbuf_draw_begin(rctx->vbuf_mgr, dinfo);
 	r600_vertex_buffer_update(rctx);
 
-	info = *dinfo;
-
 	rdraw.vgt_num_indices = info.count;
 	rdraw.vgt_num_instances = info.instance_count;
 




More information about the mesa-commit mailing list