From a77cf797f1209f70925b2bd3ceffce0ad9c3e963 Mon Sep 17 00:00:00 2001 From: Nataraj Deshpande Date: Mon, 27 Apr 2020 17:43:08 -0700 Subject: [PATCH] anv: Limit vulkan version to 1.1 for Android MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 Reviewed-by: Eric Engestrom Reviewed-by: Jason Ekstrand Part-of: --- 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 -- 2.30.2