[Mesa-dev] [PATCH] radv: expose xlib platform extension

Bas Nieuwenhuizen bas at basnieuwenhuizen.nl
Tue Nov 1 23:56:20 UTC 2016


Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>

On Wed, Nov 2, 2016 at 12:53 AM, Dave Airlie <airlied at gmail.com> wrote:
> From: Dave Airlie <airlied at redhat.com>
>
> I missed this when I added the xlib code, this allows
> dolphin emu to start and crash later.
>
> Cc: "13.0" <mesa-stable at lists.freedesktop.org>
> Signed-off-by: Dave Airlie <airlied at redhat.com>
> ---
>  src/amd/vulkan/radv_device.c | 6 ++++++
>  1 file changed, 6 insertions(+)
>
> diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c
> index 1f4535c..f68e255 100644
> --- a/src/amd/vulkan/radv_device.c
> +++ b/src/amd/vulkan/radv_device.c
> @@ -116,6 +116,12 @@ static const VkExtensionProperties global_extensions[] = {
>                 .specVersion = 5,
>         },
>  #endif
> +#ifdef VK_USE_PLATFORM_XLIB_KHR
> +       {
> +               .extensionName = VK_KHR_XLIB_SURFACE_EXTENSION_NAME,
> +               .specVersion = 5,
> +       },
> +#endif
>  #ifdef VK_USE_PLATFORM_WAYLAND_KHR
>         {
>                 .extensionName = VK_KHR_WAYLAND_SURFACE_EXTENSION_NAME,
> --
> 2.7.4
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list