compiler: Only enable mesaclc helper if we have OpenCL SPIR-V support
authorCaio Oliveira <caio.oliveira@intel.com>
Fri, 22 Sep 2023 07:02:35 +0000 (00:02 -0700)
committerMarge Bot <emma+marge@anholt.net>
Fri, 22 Sep 2023 15:29:25 +0000 (15:29 +0000)
Reviewed-by: Karol Herbst <kherbst@redhat.com>
Reviewed-by: Eric Engestrom <eric@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25341>

src/compiler/meson.build

index ad58205..4dfe21b 100644 (file)
@@ -87,7 +87,7 @@ subdir('nir')
 
 subdir('spirv')
 
-if with_clc
+if with_opencl_spirv
   subdir('clc')
 endif
 if with_gallium