diff --git a/src/compiler/nir/meson.build b/src/compiler/nir/meson.build index 248389475e5..8c55fc7c0e3 100644 --- a/src/compiler/nir/meson.build +++ b/src/compiler/nir/meson.build @@ -78,7 +78,7 @@ nir_intrinsics_c = custom_target( depend_files : files('nir_intrinsics.py'), ) -with_nir_headers_only = ( +with_nir_headers_only = not with_gfx_compute or ( gallium_drivers == ['d3d12'] and get_option('gallium-d3d12-graphics').disabled() and not [