r600g: remove dead code in r600_update_derived_state

This commit is contained in:
Marek Olšák
2012-04-03 17:09:47 +02:00
parent 5db9d76a6a
commit 7f2156c9bd
@@ -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)