anv: Disable extensions based on Android versions
authorNataraj Deshpande <nataraj.deshpande@intel.com>
Tue, 28 Apr 2020 19:42:45 +0000 (12:42 -0700)
committerMarge Bot <eric+marge@anholt.net>
Fri, 1 May 2020 21:04:26 +0000 (21:04 +0000)
commit49cc9e95266d547b89ea309798d54814d059285e
tree88d41ae3188a681e8b4347d22f8bfe1380a84ca4
parenta77cf797f1209f70925b2bd3ceffce0ad9c3e963
anv: Disable extensions based on Android versions

This extends commit 2243f0cd for anv with additional
extensions for Pie and Q versions.

Fixes tests with 9_R11 CTS:
dEQP-VK.api.info.android#no_unknown_extensions
dEQP-VK.api.info.device#extensions.

v2: Use snake_case function name (Jason Ekstrand)
    Drop Change-Id in commit (Kristian H. Kristensen)

v3: Resolve meson-clang error for ANDROID_API_LEVEL.

Signed-off-by: Nataraj Deshpande <nataraj.deshpande@intel.com>
Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Acked-by: Tapani Pälli <tapani.palli@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4827>
src/intel/vulkan/anv_extensions.py
src/intel/vulkan/anv_extensions_gen.py