meson: set default Vulkan drivers for ppc, ppc64

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29827>
This commit is contained in:
Mingcong Bai 2024-06-21 11:26:38 +08:00 committed by Marge Bot
parent 02813f341b
commit cfa0293c8b

View File

@ -224,7 +224,7 @@ if _vulkan_drivers.contains('auto')
_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())
elif ['mips', 'mips64', 'ppc', 'ppc64', 'riscv32', 'riscv64'].contains(host_machine.cpu_family())
_vulkan_drivers = ['amd', 'swrast']
elif ['loongarch64'].contains(host_machine.cpu_family())
_vulkan_drivers = ['amd', 'swrast']