Mesa (master): r600g: remove dead code in r600_update_derived_state

Marek Olšák mareko at kemper.freedesktop.org
Tue Apr 3 15:10:32 UTC 2012


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

Author: Marek Olšák <maraeo at gmail.com>
Date:   Tue Apr  3 17:09:47 2012 +0200

r600g: remove dead code in r600_update_derived_state

---

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

diff --git a/src/gallium/drivers/r600/r600_state_common.c b/src/gallium/drivers/r600/r600_state_common.c
index f3b63cf..396b93d 100644
--- a/src/gallium/drivers/r600/r600_state_common.c
+++ b/src/gallium/drivers/r600/r600_state_common.c
@@ -752,12 +752,6 @@ static int r600_shader_rebuild(struct pipe_context * ctx, struct r600_pipe_shade
 static void r600_update_derived_state(struct r600_context *rctx)
 {
 	struct pipe_context * ctx = (struct pipe_context*)rctx;
-	struct r600_pipe_state rstate;
-
-	rstate.nregs = 0;
-
-	if (rstate.nregs)
-		r600_context_pipe_state_set(rctx, &rstate);
 
 	if (!rctx->blitter->running) {
 		if (rctx->have_depth_fb || rctx->have_depth_texture)




More information about the mesa-commit mailing list