Mesa (master): meson: Stop requiring platforms for Vulkan
Jason Ekstrand
jekstrand at kemper.freedesktop.org
Mon Nov 13 19:56:04 UTC 2017
Module: Mesa
Branch: master
Commit: 3a922d6a613231212b6ea7276d1ca416378bd9fd
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3a922d6a613231212b6ea7276d1ca416378bd9fd
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date: Sat Nov 11 10:28:54 2017 -0800
meson: Stop requiring platforms for Vulkan
It should be perfectly valid to build a completely headless Vulkan
driver. We don't need to require a platform.
Reviewed-by: Dylan Baker <dylan at pnwbakers.com>
---
meson.build | 3 ---
1 file changed, 3 deletions(-)
diff --git a/meson.build b/meson.build
index 1f6658bbac..e4d0e0f80c 100644
--- a/meson.build
+++ b/meson.build
@@ -306,9 +306,6 @@ if _vulkan_drivers != ''
with_intel_vk = _split.contains('intel')
with_amd_vk = _split.contains('amd')
with_any_vk = with_amd_vk or with_intel_vk
- if not (with_platform_x11 or with_platform_wayland or with_platform_android)
- error('Vulkan requires at least one platform (x11, wayland, android)')
- endif
endif
with_dri2 = (with_dri or with_any_vk) and with_dri_platform == 'drm'
More information about the mesa-commit
mailing list