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: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15617>
This commit is contained in:
Chad Versace 2022-03-28 12:51:03 -07:00 committed by Marge Bot
parent d5405c1608
commit 3f8224baee

View File

@ -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')