compiler/clc: Move related NIR passes to the common mesa clc

These were historically in the spirv+nir combo, but the common mesa clc
is a better home for them.

Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Acked-by: Nora Allen <blackcatgames@protonmail.com>
Acked-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23667>
This commit is contained in:
Caio Oliveira
2023-06-14 22:35:23 -07:00
committed by Marge Bot
parent be3e4c8aaf
commit cb588d5d6e
13 changed files with 92 additions and 70 deletions

View File

@@ -278,7 +278,6 @@ else
with_intel_vk_rt = false
endif
with_clc = with_microsoft_clc or with_intel_clc
with_libclc = with_clc
with_spirv_to_dxil = get_option('spirv-to-dxil')
if host_machine.system() == 'darwin'
@@ -751,7 +750,7 @@ if _opencl != 'disabled'
error('The Clover OpenCL state tracker requires rtti')
endif
with_libclc = true
with_clc = true
with_gallium_opencl = true
with_opencl_icd = _opencl == 'icd'
else
@@ -772,11 +771,10 @@ if with_gallium_rusticl
add_languages('rust', required: true)
with_clc = true
with_libclc = true
endif
dep_clc = null_dep
if with_libclc
if with_clc
dep_clc = dependency('libclc')
endif