summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r600/evergreen_state.c
diff options
context:
space:
mode:
authorMarek Olšák <maraeo@gmail.com>2012-01-31 07:32:31 +0100
committerMarek Olšák <maraeo@gmail.com>2012-01-31 23:28:42 +0100
commit38bf2763482b4f1b6d95cd51aecec75601d8b90f (patch)
tree06751a8a13380e76d6301ba8a5cfa1504782fe45 /src/gallium/drivers/r600/evergreen_state.c
parentf661405637bba32c2cfbeecf6e2e56e414e9521e (diff)
r600g: remove unused variable num_dest_buffers
Diffstat (limited to 'src/gallium/drivers/r600/evergreen_state.c')
-rw-r--r--src/gallium/drivers/r600/evergreen_state.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gallium/drivers/r600/evergreen_state.c b/src/gallium/drivers/r600/evergreen_state.c
index bd46072deac..89f22153a7e 100644
--- a/src/gallium/drivers/r600/evergreen_state.c
+++ b/src/gallium/drivers/r600/evergreen_state.c
@@ -1531,7 +1531,6 @@ static void evergreen_set_framebuffer_state(struct pipe_context *ctx,
return;
r600_flush_framebuffer(rctx, false);
- rctx->num_dest_buffers = state->nr_cbufs;
/* unreference old buffer and reference new one */
rstate->id = R600_PIPE_STATE_FRAMEBUFFER;
@@ -1546,7 +1545,6 @@ static void evergreen_set_framebuffer_state(struct pipe_context *ctx,
}
if (state->zsbuf) {
evergreen_db(rctx, rstate, state);
- rctx->num_dest_buffers++;
}
shader_mask = 0;