Mesa (master): radv: Enable VK_ANDROID_external_memory_android_hardware_buffer.
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Thu Oct 10 17:03:31 UTC 2019
Module: Mesa
Branch: master
Commit: e6986bcb733d87518cad13a5e9ef116d26eadbc0
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e6986bcb733d87518cad13a5e9ef116d26eadbc0
Author: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
Date: Tue Sep 24 19:44:01 2019 +0200
radv: Enable VK_ANDROID_external_memory_android_hardware_buffer.
Reviewed-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
---
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),
More information about the mesa-commit
mailing list