It's no longer used by both r600 and radeonsi now.
Signed-off-by: Marek Olšák <marek.olsak@amd.com>
{
uint64_t mask;
- atom->dirty = dirty;
-
assert(atom->id != 0);
assert(atom->id < sizeof(mask) * 8);
mask = 1ull << atom->id;
assert(rctx->atoms[id] == NULL);
rctx->atoms[id] = atom;
atom->id = id;
- atom->dirty = false;
}
void r600_init_atom(struct r600_context *rctx,
struct r600_atom {
void (*emit)(struct r600_common_context *ctx, struct r600_atom *state);
unsigned num_dw;
- unsigned short id; /* used by r600 only */
- bool dirty;
+ unsigned short id;
};
struct r600_so_target {
void (*emit_func)(struct si_context *ctx, struct r600_atom *state))
{
atom->emit = (void*)emit_func;
- atom->dirty = false;
atom->id = list_elem - sctx->atoms.array + 1; /* index+1 in the atom array */
*list_elem = atom;
}