[Mesa-dev] [PATCH 1/2] meson: Stop requiring platforms for Vulkan

Dylan Baker dylan at pnwbakers.com
Mon Nov 13 17:37:42 UTC 2017


I believe I copied this from autotools, does it have the same restriction?

Quoting Jason Ekstrand (2017-11-11 10:32:05)
> It should be perfectly valid to build a completely headless Vulkan
> driver.  We don't need to require a platform.
> ---
>  meson.build | 3 ---
>  1 file changed, 3 deletions(-)
> 
> diff --git a/meson.build b/meson.build
> index 1f6658b..e4d0e0f 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'
> -- 
> 2.5.0.400.gff86faf
> 
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: signature
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20171113/1bc1c248/attachment.sig>


More information about the mesa-dev mailing list