radeonsi: fix SI_NUM_ATOMS
This is not used anywhere so maybe we should just drop it instead.
Fixes: 639b673fc3 ("radeonsi: don't use an indirect table for state atoms")
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5766>
This commit is contained in:
committed by
Marge Bot
parent
4686a95621
commit
bba766d85d
@@ -232,7 +232,7 @@ union si_state_atoms {
|
||||
};
|
||||
|
||||
#define SI_ATOM_BIT(name) (1 << (offsetof(union si_state_atoms, s.name) / sizeof(struct si_atom)))
|
||||
#define SI_NUM_ATOMS (sizeof(union si_state_atoms) / sizeof(struct si_atom *))
|
||||
#define SI_NUM_ATOMS (sizeof(union si_state_atoms) / sizeof(struct si_atom))
|
||||
|
||||
static inline unsigned si_atoms_that_always_roll_context(void)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user