mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-20 13:50:11 +01:00
meson: Simplify clc expression
To make it easier to add more clc users later. Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Reviewed-by: Konstantin Seurer <konstantin.seurer@gmail.com> Reviewed-by: Karol Herbst <kherbst@redhat.com> Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25498>
This commit is contained in:
parent
b192f3c458
commit
01d0d94319
1 changed files with 1 additions and 1 deletions
|
|
@ -1772,7 +1772,7 @@ else
|
||||||
draw_with_llvm = false
|
draw_with_llvm = false
|
||||||
endif
|
endif
|
||||||
|
|
||||||
with_opencl_spirv = (_opencl != 'disabled' and get_option('opencl-spirv')) or with_intel_clc or with_microsoft_clc or with_gallium_rusticl
|
with_opencl_spirv = (_opencl != 'disabled' and get_option('opencl-spirv')) or with_clc
|
||||||
if with_opencl_spirv
|
if with_opencl_spirv
|
||||||
chosen_llvm_version_array = dep_llvm.version().split('.')
|
chosen_llvm_version_array = dep_llvm.version().split('.')
|
||||||
chosen_llvm_version_major = chosen_llvm_version_array[0].to_int()
|
chosen_llvm_version_major = chosen_llvm_version_array[0].to_int()
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue