radv: Implement VK_KHR_external_memory
authorJason Ekstrand <jason@jlekstrand.net>
Sat, 15 Jul 2017 00:08:01 +0000 (02:08 +0200)
committerJason Ekstrand <jason.ekstrand@intel.com>
Sat, 15 Jul 2017 15:59:38 +0000 (08:59 -0700)
commitb70829708ac0598d17804f471d512fdfb44f331f
tree4128374b7d7336ca196ac1d3c2f614731c0faedd
parent6ddc64b93ea462b9755f5f9abfc7c72aa014a5e0
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 <airlied@redhat.com>
src/amd/vulkan/radv_device.c
src/amd/vulkan/radv_entrypoints_gen.py
src/amd/vulkan/radv_formats.c
src/amd/vulkan/radv_image.c
src/amd/vulkan/radv_private.h