radv: Filter extensions not whitelisted for Android
authorDrew Davenport <ddavenport@chromium.org>
Tue, 10 Mar 2020 20:14:33 +0000 (14:14 -0600)
committerMarge Bot <eric+marge@anholt.net>
Fri, 3 Apr 2020 02:25:50 +0000 (02:25 +0000)
commit2243f0cd0178fdc5063d049f192b4365122207b9
tree45c9fd0cc257f66208b2dcd32bf910677ae544ee
parentd6368d404b7d69649b3d606c14dbf9610ba92494
radv: Filter extensions not whitelisted for Android

Android enforces through CTS a whitelist of Vulkan extensions that are
allowed in each Android version. When building radv for Android, disable
extensions that are unknown to the version of Android for which
radv is being built.

Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4398>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4398>
src/amd/vulkan/radv_extensions.py