panfrost: Don't shadow Mesa's fui()

Will fix a compiler error when we #include the Valhall disassembler
header from pandecode.

Fixes: 688827f3c5 ("pan/va: Add disassembler generator")
Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14063>
This commit is contained in:
Alyssa Rosenzweig 2021-11-18 22:43:36 -05:00 committed by Marge Bot
parent 244f3704d4
commit 745d7db748

View file

@ -13,7 +13,6 @@
#define MASK(count) ((1ull << (count)) - 1)
#define SEXT(b, count) ((b ^ BIT(count - 1)) - BIT(count - 1))
#define UNUSED __attribute__((unused))
static inline float fui(uint32_t u) { float f; memcpy(&f, &u, 4); return f; }
#define VA_SRC_UNIFORM_TYPE 0x2
#define VA_SRC_IMM_TYPE 0x3