diff options
author | Marek Olšák <[email protected]> | 2012-07-07 19:33:11 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2012-07-12 02:08:30 +0200 |
commit | df79eb59566f20a7fa8e11d87b63b81ec35eaf25 (patch) | |
tree | da4ab64991376d759fbe0b2ec8cc9924d284f3a4 /src/gallium/drivers/r600/r600_state_common.c | |
parent | 43e3f19c766863a655bb9f7c04f7820cbda0c8f5 (diff) |
r600g: remove is_flush from DSA state
we can just update the state when decompressing, there's no need to add
additional info into the DSA state
Reviewed-by: Alex Deucher <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600/r600_state_common.c')
-rw-r--r-- | src/gallium/drivers/r600/r600_state_common.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/gallium/drivers/r600/r600_state_common.c b/src/gallium/drivers/r600/r600_state_common.c index 178ddcc34ac..f3808e6b6d3 100644 --- a/src/gallium/drivers/r600/r600_state_common.c +++ b/src/gallium/drivers/r600/r600_state_common.c @@ -272,11 +272,6 @@ void r600_bind_dsa_state(struct pipe_context *ctx, void *state) ref.writemask[1] = dsa->writemask[1]; r600_set_stencil_ref(ctx, &ref); - - if (rctx->db_misc_state.flush_depthstencil_enabled != dsa->is_flush) { - rctx->db_misc_state.flush_depthstencil_enabled = dsa->is_flush; - r600_atom_dirty(rctx, &rctx->db_misc_state.atom); - } } void r600_set_max_scissor(struct r600_context *rctx) |