summaryrefslogtreecommitdiffstats
path: root/src/amd/vulkan/radv_entrypoints_gen.py
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2016-11-03 04:16:43 +0000
committerBas Nieuwenhuizen <[email protected]>2017-06-05 02:26:43 +0200
commit4ba2e6cbfab2ac5adc3d4fe1d35a32cc582781dc (patch)
tree7a319495088a8f8fcc8ae16ccec34b4857c03823 /src/amd/vulkan/radv_entrypoints_gen.py
parentd515b420ddaa3b83cc565567d0c229e717aab06a (diff)
radv: add external memory support.
This adds support for exporting 2D images, to an opaque fd. This implements the: VK_KHX_external_memory_capabilities VK_KHX_external_memory VK_KHX_external_memory_fd extensions. These are used by SteamVR, we should work with anv to decide if we should ship these under an env var or something. v2 (Bas): - Don't expose the semaphore ext without implementing it. - Only export the capabilities ext as instance ext. - Implement radv_GetPhysicalDeviceExternalBufferPropertiesKHX. Signed-off-by: Dave Airlie <[email protected]> Signed-off-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_entrypoints_gen.py')
-rw-r--r--src/amd/vulkan/radv_entrypoints_gen.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/amd/vulkan/radv_entrypoints_gen.py b/src/amd/vulkan/radv_entrypoints_gen.py
index 3474c789ea8..fbf8daf0d27 100644
--- a/src/amd/vulkan/radv_entrypoints_gen.py
+++ b/src/amd/vulkan/radv_entrypoints_gen.py
@@ -42,6 +42,9 @@ supported_extensions = [
'VK_KHR_wayland_surface',
'VK_KHR_xcb_surface',
'VK_KHR_xlib_surface',
+ 'VK_KHX_external_memory_capabilities',
+ 'VK_KHX_external_memory',
+ 'VK_KHX_external_memory_fd',
]
# We generate a static hash table for entry point lookup