mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-20 05:10:11 +01:00
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 <mary.guillemard@collabora.com> Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35639>
This commit is contained in:
parent
2c455c2d81
commit
e8137404b6
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue