From e8137404b6559b1c4c3b8cfefa2eb385d394364d Mon Sep 17 00:00:00 2001 From: Mary Guillemard Date: Tue, 17 Jun 2025 10:32:30 +0200 Subject: [PATCH] meson: make clz available in OpenCL code for various math helpers. the clzll version isn't available since long long is 128-bit for CL. Signed-off-by: Mary Guillemard Reviewed-by: Alyssa Rosenzweig Part-of: --- meson.build | 1 + 1 file changed, 1 insertion(+) diff --git a/meson.build b/meson.build index 604c4a7e00d..555ea834764 100644 --- a/meson.build +++ b/meson.build @@ -57,6 +57,7 @@ cl_args = [ # Declare supported clang builtins since we don't autodetect for OpenCL '-DHAVE___BUILTIN_FFS', + '-DHAVE___BUILTIN_CLZ', ] if with_mesa_ndebug