From e6986bcb733d87518cad13a5e9ef116d26eadbc0 Mon Sep 17 00:00:00 2001 From: Bas Nieuwenhuizen Date: Tue, 24 Sep 2019 19:44:01 +0200 Subject: [PATCH] radv: Enable VK_ANDROID_external_memory_android_hardware_buffer. Reviewed-by: Samuel Pitoiset --- docs/relnotes/new_features.txt | 1 + src/amd/vulkan/radv_extensions.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/relnotes/new_features.txt b/docs/relnotes/new_features.txt index bfe0ac83493..10f76955c6d 100644 --- a/docs/relnotes/new_features.txt +++ b/docs/relnotes/new_features.txt @@ -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. diff --git a/src/amd/vulkan/radv_extensions.py b/src/amd/vulkan/radv_extensions.py index 3405f8f86e1..91bbe70217e 100644 --- a/src/amd/vulkan/radv_extensions.py +++ b/src/amd/vulkan/radv_extensions.py @@ -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), -- 2.30.2