From 2e28998017aef18ffa9c69b19b7c6f4616ee733c Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Wed, 28 Feb 2024 13:23:33 -0400 Subject: [PATCH] libagx: improve static assert message Signed-off-by: Alyssa Rosenzweig Part-of: --- src/asahi/lib/shaders/libagx.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/asahi/lib/shaders/libagx.h b/src/asahi/lib/shaders/libagx.h index 5f0f79fcd1b..cba08867748 100644 --- a/src/asahi/lib/shaders/libagx.h +++ b/src/asahi/lib/shaders/libagx.h @@ -11,7 +11,7 @@ #include #include "util/macros.h" #define GLOBAL(type_) uint64_t -#define AGX_STATIC_ASSERT(_COND) static_assert(_COND, "OpenCL assertion") +#define AGX_STATIC_ASSERT(_COND) static_assert(_COND, #_COND) #else #pragma OPENCL EXTENSION cl_khr_fp16 : enable #define PACKED __attribute__((packed, aligned(4)))