anv: expose VK_EXT_queue_family_foreign on Android
authorTapani Pälli <tapani.palli@intel.com>
Fri, 12 Apr 2019 09:52:43 +0000 (12:52 +0300)
committerTapani Pälli <tapani.palli@intel.com>
Mon, 29 Apr 2019 04:31:02 +0000 (07:31 +0300)
VK_ANDROID_external_memory_android_hardware_buffer requires this
extension. It is safe to enable it since currently aux usage is
disabled for ahw buffers.

Fixes following dEQP extension dependency test on Android:
   dEQP-VK.api.info.device#extensions

Cc: <mesa-stable@lists.freedesktop.org>
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Acked-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
src/intel/vulkan/anv_extensions.py

index afd327eb4a50092cf5591b79c5a39b22e7bb0f55..1d3dbaaa9a9172b374e1bcc8facbf5a96f6754f2 100644 (file)
@@ -136,6 +136,7 @@ EXTENSIONS = [
     Extension('VK_EXT_pci_bus_info',                      2, True),
     Extension('VK_EXT_pipeline_creation_feedback',        1, True),
     Extension('VK_EXT_post_depth_coverage',               1, 'device->info.gen >= 9'),
+    Extension('VK_EXT_queue_family_foreign',              1, 'ANDROID'),
     Extension('VK_EXT_sampler_filter_minmax',             1, 'device->info.gen >= 9'),
     Extension('VK_EXT_scalar_block_layout',               1, True),
     Extension('VK_EXT_shader_stencil_export',             1, 'device->info.gen >= 9'),