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:
committed by
Marge Bot
parent
b6c2ea4d99
commit
ee4460acf4
@@ -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__); \
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user