Mesa (master): radv: Don't expose VK_KHX_multiview on android.

Bas Nieuwenhuizen bnieuwenhuizen at kemper.freedesktop.org
Thu Feb 1 22:36:09 UTC 2018


Module: Mesa
Branch: master
Commit: 2ffe395cba0f7b3c1f1c41062f4376eae3a188b5
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2ffe395cba0f7b3c1f1c41062f4376eae3a188b5

Author: Bas Nieuwenhuizen <basni at chromium.org>
Date:   Wed Jan 31 12:31:30 2018 +0100

radv: Don't expose VK_KHX_multiview on android.

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.

Reviewed-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
CC: 18.0 <mesa-stable at lists.freedesktop.org>

---

 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'),
     Extension('VK_EXT_debug_report',                      9, True),
     Extension('VK_EXT_discard_rectangles',                1, True),
     Extension('VK_EXT_external_memory_dma_buf',           1, True),




More information about the mesa-commit mailing list