diff options
author | Nataraj Deshpande <[email protected]> | 2020-04-27 17:43:08 -0700 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-05-01 20:50:54 +0000 |
commit | a77cf797f1209f70925b2bd3ceffce0ad9c3e963 (patch) | |
tree | 364d8893c79405cebd33e2e81a33e04bf32398d3 /src/intel/vulkan/anv_extensions.py | |
parent | 33c61eb2f10526c0b90c5ad376e5b0433aec296d (diff) |
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 <[email protected]>
Reviewed-by: Eric Engestrom <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4781>
Diffstat (limited to 'src/intel/vulkan/anv_extensions.py')
-rw-r--r-- | src/intel/vulkan/anv_extensions.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |