mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-03 02:28:26 +02:00
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:
parent
fc929d9318
commit
aaa609f030
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue