diff options
author | Christian König <deathsimple@vodafone.de> | 2012-07-18 12:10:24 +0200 |
---|---|---|
committer | Christian König <deathsimple@vodafone.de> | 2012-07-24 12:29:30 +0200 |
commit | de3335dba8718efab8b80475f3fd78645def4e1c (patch) | |
tree | 8f2557c28c60f279f3631c96bd9c8a9a82905707 /src/gallium/drivers/radeonsi/si_state_draw.c | |
parent | 9b213c871a080472660eff271c72a3fcc5d3f578 (diff) |
radeonsi: remove old state handling
Signed-off-by: Christian König <deathsimple@vodafone.de>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_state_draw.c')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_state_draw.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/gallium/drivers/radeonsi/si_state_draw.c b/src/gallium/drivers/radeonsi/si_state_draw.c index 211956ef787..1648cce40a9 100644 --- a/src/gallium/drivers/radeonsi/si_state_draw.c +++ b/src/gallium/drivers/radeonsi/si_state_draw.c @@ -479,7 +479,6 @@ void si_draw_vbo(struct pipe_context *ctx, const struct pipe_draw_info *dinfo) struct pipe_draw_info info = *dinfo; struct r600_draw rdraw = {}; struct pipe_index_buffer ib = {}; - struct r600_block *dirty_block = NULL, *next_block = NULL; struct r600_atom *state = NULL, *next_state = NULL; if ((!info.count && (info.indexed || !info.count_from_stream_output)) || @@ -546,9 +545,6 @@ void si_draw_vbo(struct pipe_context *ctx, const struct pipe_draw_info *dinfo) LIST_FOR_EACH_ENTRY_SAFE(state, next_state, &rctx->dirty_states, head) { r600_emit_atom(rctx, state); } - LIST_FOR_EACH_ENTRY_SAFE(dirty_block, next_block, &rctx->dirty,list) { - r600_context_block_emit_dirty(rctx, dirty_block); - } si_pm4_emit_dirty(rctx); rctx->pm4_dirty_cdwords = 0; |