anv: Don't expose VK_KHX_multiview on android.
authorTapani Pälli <tapani.palli@intel.com>
Mon, 5 Mar 2018 08:57:29 +0000 (10:57 +0200)
committerTapani Pälli <tapani.palli@intel.com>
Tue, 6 Mar 2018 06:01:20 +0000 (08:01 +0200)
Just like commit 2ffe395 does for radv.

Fixes following dEQP test on i965:
   dEQP-VK.api.info.android.no_unknown_extensions

v2: make it !ANDROID since this extension is not about
    surfaces/swapchain

Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
src/intel/vulkan/anv_extensions.py

index 8d39038c43a41086f02cad2d5f895e0ea69c2a09..fd0d3337d08cae89de9a3c9360b56bb5a1454a36 100644 (file)
@@ -83,7 +83,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'),
     Extension('VK_EXT_debug_report',                      8, True),
     Extension('VK_EXT_external_memory_dma_buf',           1, True),
     Extension('VK_EXT_global_priority',                   1,