radv: Enable VK_ANDROID_external_memory_android_hardware_buffer.

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
This commit is contained in:
Bas Nieuwenhuizen
2019-09-24 19:44:01 +02:00
parent e92b9c5f4f
commit e6986bcb73
2 changed files with 2 additions and 1 deletions

View File

@@ -2,6 +2,7 @@ GL_ARB_gl_spirv on i965, iris.
GL_ARB_spirv_extensions on i965, iris.
GL_EXT_demote_to_helper_invocation on iris, i965.
OpenGL 4.6 on i965, iris.
VK_ANDROID_external_memory_android_hardware_buffer on RADV.
VK_KHR_shader_clock on Intel, RADV.
VK_KHR_shader_float_controls on Intel.
VK_EXT_shader_subgroup_ballot on Intel.

View File

@@ -50,7 +50,7 @@ class Extension:
# the those extension strings, then tests dEQP-VK.api.info.instance.extensions
# and dEQP-VK.api.info.device fail due to the duplicated strings.
EXTENSIONS = [
Extension('VK_ANDROID_external_memory_android_hardware_buffer', 3, False),
Extension('VK_ANDROID_external_memory_android_hardware_buffer', 3, 'RADV_SUPPORT_ANDROID_HARDWARE_BUFFER && device->rad_info.has_syncobj_wait_for_submit'),
Extension('VK_ANDROID_native_buffer', 5, 'ANDROID && device->rad_info.has_syncobj_wait_for_submit'),
Extension('VK_KHR_16bit_storage', 1, '!device->use_aco'),
Extension('VK_KHR_bind_memory2', 1, True),