From b70829708ac0598d17804f471d512fdfb44f331f Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Sat, 15 Jul 2017 02:08:01 +0200 Subject: radv: Implement VK_KHR_external_memory This effectively reverts commit 43a171878bb4b5aedb36a. Technically, VK_KHR_get_memory_requirements2 and VK_KHR_dedicated_allocation are required for the KHR version but this at least restores the removed functionality. This patch builds but has received zero testing. Acked-by: Dave Airlie --- src/amd/vulkan/radv_private.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/amd/vulkan/radv_private.h') diff --git a/src/amd/vulkan/radv_private.h b/src/amd/vulkan/radv_private.h index a8bc5c96586..2f633b4dbd9 100644 --- a/src/amd/vulkan/radv_private.h +++ b/src/amd/vulkan/radv_private.h @@ -1205,6 +1205,8 @@ struct radv_image { bool exclusive; unsigned queue_family_mask; + bool shareable; + /* Set when bound */ struct radeon_winsys_bo *bo; VkDeviceSize offset; -- cgit v1.2.3