asahi/genxml: define missing macros
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32320>
This commit is contained in:

committed by
Marge Bot

parent
e01dc7a588
commit
ebdca6344e
@@ -24,6 +24,8 @@
|
||||
#define CONSTANT_ constant
|
||||
#define GLOBAL_ global
|
||||
#define BITFIELD64_MASK(x) ((x == 64) ? ~0ul : ((1ul << x) - 1))
|
||||
#define IS_POT(v) (((v) & ((v) - 1)) == 0)
|
||||
#define IS_POT_NONZERO(v) ((v) != 0 && IS_POT(v))
|
||||
|
||||
static uint64_t
|
||||
util_bitpack_uint(uint64_t v, uint32_t start, uint32_t end)
|
||||
|
Reference in New Issue
Block a user