From 3f8224baeead17338fdd593b8fe1c23e436e10a5 Mon Sep 17 00:00:00 2001 From: Chad Versace Date: Mon, 28 Mar 2022 12:51:03 -0700 Subject: [PATCH] intel/tools: Fix build without drivers If Meson was configured with -Dtools=intel but all Intel drivers were disabled, then Meson silently refused to build the tools. Part-of: --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index c9cded59d51..b6a2a9dca99 100644 --- a/meson.build +++ b/meson.build @@ -280,7 +280,7 @@ with_microsoft_vk = _vulkan_drivers.contains('microsoft-experimental') with_any_vk = _vulkan_drivers.length() != 0 with_any_broadcom = with_gallium_vc4 or with_gallium_v3d or with_broadcom_vk -with_any_intel = with_intel_vk or with_gallium_iris or with_gallium_crocus +with_any_intel = with_intel_vk or with_gallium_iris or with_gallium_crocus or with_intel_tools if with_swrast_vk and not with_gallium_softpipe error('swrast vulkan requires gallium swrast')