anv: Limit vulkan version to 1.1 for Android
authorNataraj Deshpande <nataraj.deshpande@intel.com>
Tue, 28 Apr 2020 00:43:08 +0000 (17:43 -0700)
committerMarge Bot <eric+marge@anholt.net>
Fri, 1 May 2020 20:50:54 +0000 (20:50 +0000)
commita77cf797f1209f70925b2bd3ceffce0ad9c3e963
tree364d8893c79405cebd33e2e81a33e04bf32398d3
parent33c61eb2f10526c0b90c5ad376e5b0433aec296d
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@intel.com>
Reviewed-by: Eric Engestrom <eric@engestrom.ch>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4781>
src/intel/vulkan/anv_extensions.py