meson: Rename nouveau-experimental to nouveau and build by default on x86

Reviewed-by: Joshua Ashton <joshua@froggi.es>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27832>
This commit is contained in:
Faith Ekstrand
2024-02-27 12:36:24 -06:00
committed by Marge Bot
parent e32c36df07
commit 75785749ef
3 changed files with 7 additions and 7 deletions

View File

@@ -216,7 +216,7 @@ _vulkan_drivers = get_option('vulkan-drivers')
if _vulkan_drivers.contains('auto')
if system_has_kms_drm
if host_machine.cpu_family().startswith('x86')
_vulkan_drivers = ['amd', 'intel', 'intel_hasvk', 'swrast']
_vulkan_drivers = ['amd', 'intel', 'intel_hasvk', 'nouveau', 'swrast']
elif ['arm', 'aarch64'].contains(host_machine.cpu_family())
_vulkan_drivers = ['swrast', 'intel']
elif ['mips', 'mips64', 'riscv32', 'riscv64'].contains(host_machine.cpu_family())
@@ -239,7 +239,7 @@ elif _vulkan_drivers.contains('all')
_vulkan_drivers = ['amd', 'intel', 'intel_hasvk', 'swrast',
'freedreno', 'panfrost', 'virtio', 'broadcom',
'imagination-experimental', 'microsoft-experimental',
'nouveau-experimental']
'nouveau']
endif
with_intel_vk = _vulkan_drivers.contains('intel')
@@ -253,7 +253,7 @@ with_broadcom_vk = _vulkan_drivers.contains('broadcom')
with_imagination_vk = _vulkan_drivers.contains('imagination-experimental')
with_imagination_srv = get_option('imagination-srv')
with_microsoft_vk = _vulkan_drivers.contains('microsoft-experimental')
with_nouveau_vk = _vulkan_drivers.contains('nouveau-experimental')
with_nouveau_vk = _vulkan_drivers.contains('nouveau')
with_any_vk = _vulkan_drivers.length() != 0
with_vk_compiler = [