diff --git a/src/asahi/lib/shaders/libagx.h b/src/asahi/lib/shaders/libagx.h index 30f5e45d272..5f0f79fcd1b 100644 --- a/src/asahi/lib/shaders/libagx.h +++ b/src/asahi/lib/shaders/libagx.h @@ -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;