mesa/src/compiler/libcl
Antonio Ospite 5649a0aa06
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run
libcl: avoid calling UNREACHABLE(str) macro without arguments
In commit 9ced3148ca ("util: avoid calling UNREACHABLE(str) macro
without arguments", 2025-07-30) the argument type check in the
UNREACHABLE(str) macro in src/util/macros.h was improved to also avoid
calling it without arguments, but the definition in
src/compiler/libcl/libcl.h was not updated.

Apply a similar change to src/compiler/libcl/libcl.h to keep the C and
CL macros in sync.

Fixes: 9ced3148ca ("util: avoid calling UNREACHABLE(str) macro without arguments", 2025-07-30)

Tested-by: Dieter Nützel <Dieter@nuetzel-hh.de> on gfx8 (Polaris 20)
Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36508>
2025-08-04 23:15:18 +02:00
..
assert.h clc,libcl: Clean up CL includes 2025-04-11 21:27:37 +00:00
errno.h clc,libcl: Clean up CL includes 2025-04-11 21:27:37 +00:00
float.h clc,libcl: Clean up CL includes 2025-04-11 21:27:37 +00:00
libcl.h libcl: avoid calling UNREACHABLE(str) macro without arguments 2025-08-04 23:15:18 +02:00
libcl_vk.h libcl/vk: add common query copy write routine 2025-02-13 11:50:06 +00:00
limits.h clc,libcl: Clean up CL includes 2025-04-11 21:27:37 +00:00
math.h clc,libcl: Clean up CL includes 2025-04-11 21:27:37 +00:00
stdalign.h clc,libcl: Clean up CL includes 2025-04-11 21:27:37 +00:00
stdarg.h clc,libcl: Clean up CL includes 2025-04-11 21:27:37 +00:00
stdatomic.h libcl: Add stdatomic.h 2025-08-04 12:12:51 +00:00
stdbool.h clc,libcl: Clean up CL includes 2025-04-11 21:27:37 +00:00
stddef.h clc,libcl: Clean up CL includes 2025-04-11 21:27:37 +00:00
stdint.h libcl: Add more UINT_MAX variants 2025-06-20 10:11:52 +00:00
stdio.h clc,libcl: Clean up CL includes 2025-04-11 21:27:37 +00:00
stdlib.h clc,libcl: Clean up CL includes 2025-04-11 21:27:37 +00:00
string.h clc,libcl: Clean up CL includes 2025-04-11 21:27:37 +00:00