libagx: use real PACKED macro
hopefully end these alignment bugs for good Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27616>
This commit is contained in:
committed by
Marge Bot
parent
fc929d9318
commit
aaa609f030
@@ -14,7 +14,7 @@
|
||||
#define AGX_STATIC_ASSERT(_COND) static_assert(_COND, "OpenCL assertion")
|
||||
#else
|
||||
#pragma OPENCL EXTENSION cl_khr_fp16 : enable
|
||||
#define PACKED
|
||||
#define PACKED __attribute__((packed, aligned(4)))
|
||||
#define GLOBAL(type_) global type_ *
|
||||
|
||||
typedef ulong uint64_t;
|
||||
|
||||
Reference in New Issue
Block a user