Mesa (master): anv: Limit vulkan version to 1.1 for Android

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri May 1 21:02:04 UTC 2020


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

Author: Nataraj Deshpande <nataraj.deshpande at intel.com>
Date:   Mon Apr 27 17:43:08 2020 -0700

anv: Limit vulkan version to 1.1 for Android

Current Android dessert versions such as Pie, Q reject
vulkan version > 1.1. Clamp the vulkan versions to 1.1
for platforms running these Android desserts.

Fixes android.graphics.cts.VulkanFeaturesTest and
dEQP-VK.api.info.device#properties.

v2: Limit version with '!ANDROID' (Eric Engestrom and Tapani Pälli)

Signed-off-by: Nataraj Deshpande <nataraj.deshpande at intel.com>
Reviewed-by: Eric Engestrom <eric at engestrom.ch>
Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4781>

---

 src/intel/vulkan/anv_extensions.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/intel/vulkan/anv_extensions.py b/src/intel/vulkan/anv_extensions.py
index 3997974467b..2f33f7592a3 100644
--- a/src/intel/vulkan/anv_extensions.py
+++ b/src/intel/vulkan/anv_extensions.py
@@ -54,7 +54,7 @@ API_PATCH_VERSION = 131
 API_VERSIONS = [
     ApiVersion('1.0',   True),
     ApiVersion('1.1',   True),
-    ApiVersion('1.2',   True),
+    ApiVersion('1.2',   '!ANDROID'),
 ]
 
 MAX_API_VERSION = None # Computed later



More information about the mesa-commit mailing list