summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/r600')
-rw-r--r--src/gallium/drivers/r600/r600_pipe.h2
-rw-r--r--src/gallium/drivers/r600/r600_state_common.c1
2 files changed, 0 insertions, 3 deletions
diff --git a/src/gallium/drivers/r600/r600_pipe.h b/src/gallium/drivers/r600/r600_pipe.h
index 76539d66ec6..25df831339c 100644
--- a/src/gallium/drivers/r600/r600_pipe.h
+++ b/src/gallium/drivers/r600/r600_pipe.h
@@ -514,8 +514,6 @@ static inline void r600_set_atom_dirty(struct r600_context *rctx,
{
uint64_t mask;
- atom->dirty = dirty;
-
assert(atom->id != 0);
assert(atom->id < sizeof(mask) * 8);
mask = 1ull << atom->id;
diff --git a/src/gallium/drivers/r600/r600_state_common.c b/src/gallium/drivers/r600/r600_state_common.c
index 39c65ae45c3..ae1341187cb 100644
--- a/src/gallium/drivers/r600/r600_state_common.c
+++ b/src/gallium/drivers/r600/r600_state_common.c
@@ -56,7 +56,6 @@ void r600_add_atom(struct r600_context *rctx,
assert(rctx->atoms[id] == NULL);
rctx->atoms[id] = atom;
atom->id = id;
- atom->dirty = false;
}
void r600_init_atom(struct r600_context *rctx,