From 931dba218ea6fbe8e9b10bfc37e50f08b7d74323 Mon Sep 17 00:00:00 2001 From: Thong Thai Date: Mon, 11 May 2026 13:09:55 +0000 Subject: [PATCH] nir: Only build NIR headers when with_gfx_compute is false MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Thong Thai Acked-by: Pierre-Eric Pelloux-Prayer Reviewed-by: Marek Olšák Part-of: --- src/compiler/nir/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 [