mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 20:38:06 +02:00
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:
parent
4686a95621
commit
bba766d85d
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue