mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 11:00:11 +01:00
meson: Add asahi to aarch64's auto-generated drivers
Since the Apple silicon M1 and M2 series of SoCs support only aarch64 split the lists for 'arm' and 'aarch64'. Signed-off-by: Janne Grunau <j@jannau.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38341>
This commit is contained in:
parent
fa66b670d4
commit
1f144081ec
1 changed files with 10 additions and 2 deletions
12
meson.build
12
meson.build
|
|
@ -156,7 +156,13 @@ if gallium_drivers.contains('auto')
|
||||||
'r300', 'r600', 'radeonsi', 'nouveau', 'virgl', 'svga', 'llvmpipe', 'softpipe',
|
'r300', 'r600', 'radeonsi', 'nouveau', 'virgl', 'svga', 'llvmpipe', 'softpipe',
|
||||||
'iris', 'crocus', 'i915', 'zink'
|
'iris', 'crocus', 'i915', 'zink'
|
||||||
]
|
]
|
||||||
elif ['arm', 'aarch64'].contains(host_machine.cpu_family())
|
elif ['aarch64'].contains(host_machine.cpu_family())
|
||||||
|
gallium_drivers = [
|
||||||
|
'v3d', 'vc4', 'freedreno', 'etnaviv', 'nouveau', 'svga',
|
||||||
|
'tegra', 'virgl', 'lima', 'panfrost', 'llvmpipe', 'softpipe', 'iris',
|
||||||
|
'zink', 'asahi'
|
||||||
|
]
|
||||||
|
elif ['arm'].contains(host_machine.cpu_family())
|
||||||
gallium_drivers = [
|
gallium_drivers = [
|
||||||
'v3d', 'vc4', 'freedreno', 'etnaviv', 'nouveau', 'svga',
|
'v3d', 'vc4', 'freedreno', 'etnaviv', 'nouveau', 'svga',
|
||||||
'tegra', 'virgl', 'lima', 'panfrost', 'llvmpipe', 'softpipe', 'iris',
|
'tegra', 'virgl', 'lima', 'panfrost', 'llvmpipe', 'softpipe', 'iris',
|
||||||
|
|
@ -249,7 +255,9 @@ if _vulkan_drivers.contains('auto')
|
||||||
if system_has_kms_drm
|
if system_has_kms_drm
|
||||||
if host_machine.cpu_family().startswith('x86')
|
if host_machine.cpu_family().startswith('x86')
|
||||||
_vulkan_drivers = ['amd', 'intel', 'intel_hasvk', 'nouveau', 'swrast']
|
_vulkan_drivers = ['amd', 'intel', 'intel_hasvk', 'nouveau', 'swrast']
|
||||||
elif ['arm', 'aarch64'].contains(host_machine.cpu_family())
|
elif ['aarch64'].contains(host_machine.cpu_family())
|
||||||
|
_vulkan_drivers = ['swrast', 'intel', 'panfrost', 'freedreno', 'asahi']
|
||||||
|
elif ['arm'].contains(host_machine.cpu_family())
|
||||||
_vulkan_drivers = ['swrast', 'intel', 'panfrost', 'freedreno']
|
_vulkan_drivers = ['swrast', 'intel', 'panfrost', 'freedreno']
|
||||||
elif ['mips', 'mips64', 'ppc', 'ppc64', 'riscv32', 'riscv64'].contains(host_machine.cpu_family())
|
elif ['mips', 'mips64', 'ppc', 'ppc64', 'riscv32', 'riscv64'].contains(host_machine.cpu_family())
|
||||||
_vulkan_drivers = ['amd', 'swrast']
|
_vulkan_drivers = ['amd', 'swrast']
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue