diff options
author | Jason Ekstrand <[email protected]> | 2017-07-15 02:08:01 +0200 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2017-07-15 08:59:38 -0700 |
commit | b70829708ac0598d17804f471d512fdfb44f331f (patch) | |
tree | 4128374b7d7336ca196ac1d3c2f614731c0faedd /src/amd/vulkan/radv_private.h | |
parent | 6ddc64b93ea462b9755f5f9abfc7c72aa014a5e0 (diff) |
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 <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_private.h')
-rw-r--r-- | src/amd/vulkan/radv_private.h | 2 |
1 files changed, 2 insertions, 0 deletions
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; |