meson: Don't enable any vulkan drivers on arm, aarch64
authorGuido Günther <agx@sigxcpu.org>
Sun, 26 Aug 2018 20:24:00 +0000 (22:24 +0200)
committerDylan Baker <dylan@pnwbakers.com>
Mon, 27 Aug 2018 18:32:04 +0000 (11:32 -0700)
There's no Vulkan support for arm atm.

Signed-off-by: Guido Günther <guido.gunther@puri.sm>
Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
meson.build

index c3a7e8cdd7415e7fbb0dd7094cfbb17a46fd8aa2..7f6f128e0b24e45f95b62a20bd407dc434064456 100644 (file)
@@ -179,6 +179,8 @@ if _vulkan_drivers.contains('auto')
   if system_has_kms_drm
     if host_machine.cpu_family().startswith('x86')
       _vulkan_drivers = ['amd', 'intel']
+    elif ['arm', 'aarch64'].contains(host_machine.cpu_family())
+      _vulkan_drivers = []
     else
       error('Unknown architecture @0@. Please pass -Dvulkan-drivers to set driver options. Patches gladly accepted to fix this.'.format(
             host_machine.cpu_family()))