[Mesa-dev] [PATCH] radv: Don't expose VK_KHX_multiview on android.

Emil Velikov emil.l.velikov at gmail.com
Fri Feb 2 17:59:41 UTC 2018


Hi Bas,

On 31 January 2018 at 11:31, Bas Nieuwenhuizen <basni at chromium.org> wrote:
> deqp does not allow any KHX extensions, and since deqp is included
> in android-cts, android does not allow any khx extensions.
>
> So disable VK_KHX_multiview on android.
> ---
>  src/amd/vulkan/radv_extensions.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/amd/vulkan/radv_extensions.py b/src/amd/vulkan/radv_extensions.py
> index ab34c01cb6..e6c6e63627 100644
> --- a/src/amd/vulkan/radv_extensions.py
> +++ b/src/amd/vulkan/radv_extensions.py
> @@ -81,7 +81,7 @@ EXTENSIONS = [
>      Extension('VK_KHR_wayland_surface',                   6, 'VK_USE_PLATFORM_WAYLAND_KHR'),
>      Extension('VK_KHR_xcb_surface',                       6, 'VK_USE_PLATFORM_XCB_KHR'),
>      Extension('VK_KHR_xlib_surface',                      6, 'VK_USE_PLATFORM_XLIB_KHR'),
> -    Extension('VK_KHX_multiview',                         1, True),
> +    Extension('VK_KHX_multiview',                         1, '!ANDROID'),

While picking the patch for stable the following questions came to
mind. Hope you can you shed some light.

Is this restriction effectively a Vulkan loader limitation or ?
Should we use the same for the Intel Vulkan driver as well?

Thanks
Emil


More information about the mesa-dev mailing list