anv/android: Disable surface and swapchain extensions (v2)
authorChad Versace <chadversary@chromium.org>
Fri, 1 Sep 2017 22:54:38 +0000 (15:54 -0700)
committerChad Versace <chadversary@chromium.org>
Mon, 18 Sep 2017 21:27:27 +0000 (14:27 -0700)
commit9f763c1f9b7654912e3fcfac814a55eed68881fe
tree5f8766ef1ae06310f51172876563e97900bfbc6d
parent39c9d435364a30a97b64c2b6388081cdcefbf683
anv/android: Disable surface and swapchain extensions (v2)

Android's Vulkan loader implements VK_KHR_surface and VK_KHR_swapchain,
and applications cannot access the driver's implementation. Moreoever,
if the driver exposes the those extension strings, then tests
dEQP-VK.api.info.instance.extensions and dEQP-VK.api.info.device fail
due to the duplicated strings.

v2: Replace !ANDROID with ANV_HAS_SURFACE. (for jekstrand)

Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Tested-by: Tapani Pälli <tapani.palli@intel.com>
src/intel/vulkan/anv_extensions.py