mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02:00
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@pnwbakers.com>
This commit is contained in:
parent
da31e2c22d
commit
3a922d6a61
1 changed files with 0 additions and 3 deletions
|
|
@ -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'
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue