r600g: remove dead code in r600_update_derived_state
authorMarek Olšák <maraeo@gmail.com>
Tue, 3 Apr 2012 15:09:47 +0000 (17:09 +0200)
committerMarek Olšák <maraeo@gmail.com>
Tue, 3 Apr 2012 15:09:47 +0000 (17:09 +0200)
src/gallium/drivers/r600/r600_state_common.c

index f3b63cfe92cd989af2d76178bf17560feec59a39..396b93d21d6a14a988eb3c45e1cd94af1ee0bafe 100644 (file)
@@ -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)