diff options
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_state.h')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_state.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/si_state.h b/src/gallium/drivers/radeonsi/si_state.h index ab655498a1d..62202de2cdb 100644 --- a/src/gallium/drivers/radeonsi/si_state.h +++ b/src/gallium/drivers/radeonsi/si_state.h @@ -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) { |