panvk: Fix descriptor decode

The expansion of DUMP_CL is missing parenthesis, making the dumping of
descriptors incorrect.

Fixes: 3b69edf825 ("pan/genxml: Enforce explicit packed types on pan_[un]pack")
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33040>
This commit is contained in:
Lars-Ivar Hesselberg Simonsen
2025-01-15 15:44:52 +01:00
committed by Marge Bot
parent b6c2ea4d99
commit ee4460acf4
+1 -1
View File
@@ -189,7 +189,7 @@ pandecode_log_cont(struct pandecode_context *ctx, const char *format, ...)
#define DUMP_CL(ctx, T, cl, ...) \
{ \
pan_unpack((MALI_##T##_PACKED_T *)cl, T, temp); \
pan_unpack((MALI_##T##_PACKED_T *)(cl), T, temp); \
DUMP_UNPACKED(ctx, T, temp, __VA_ARGS__); \
}