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 <airlied@redhat.com> Signed-off-by: Bas Nieuwenhuizen <basni@google.com>
This commit is contained in:

committed by
Bas Nieuwenhuizen

parent
d515b420dd
commit
4ba2e6cbfa
@@ -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
|
||||
|
Reference in New Issue
Block a user