mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-09 05:48:18 +02:00
libagx: improve static assert message
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28483>
This commit is contained in:
parent
b01ccc13e9
commit
2e28998017
1 changed files with 1 additions and 1 deletions
|
|
@ -11,7 +11,7 @@
|
|||
#include <stdint.h>
|
||||
#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)))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue