aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/vulkan_loader.h
diff options
context:
space:
mode:
authorLynne <dev@lynne.ee>2023-03-14 22:30:18 +0100
committerLynne <dev@lynne.ee>2023-05-29 00:41:40 +0200
commit571756bf2fe255a4108360c305cae94866bd6e9f (patch)
tree226d493cbeab50ab72ecc7cf93407ddad42c4304 /libavutil/vulkan_loader.h
parente11fd1abdba10df572e9ef0281068983c024ba8e (diff)
downloadffmpeg-571756bf2fe255a4108360c305cae94866bd6e9f.tar.gz
hwcontext_vulkan: use VK_EXT_physical_device_drm to derive DRM to Vulkan
Finally, a way to directly identify a Vulkan device from a DRM device!
Diffstat (limited to 'libavutil/vulkan_loader.h')
-rw-r--r--libavutil/vulkan_loader.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavutil/vulkan_loader.h b/libavutil/vulkan_loader.h
index e08777db17..2e6dfb4f4f 100644
--- a/libavutil/vulkan_loader.h
+++ b/libavutil/vulkan_loader.h
@@ -44,6 +44,7 @@ static inline uint64_t ff_vk_extensions_to_mask(const char * const *extensions,
{ VK_KHR_EXTERNAL_SEMAPHORE_FD_EXTENSION_NAME, FF_VK_EXT_EXTERNAL_FD_SEM },
{ VK_EXT_EXTERNAL_MEMORY_HOST_EXTENSION_NAME, FF_VK_EXT_EXTERNAL_HOST_MEMORY },
{ VK_EXT_DEBUG_UTILS_EXTENSION_NAME, FF_VK_EXT_DEBUG_UTILS },
+ { VK_EXT_PHYSICAL_DEVICE_DRM_EXTENSION_NAME, FF_VK_EXT_DEVICE_DRM },
#ifdef _WIN32
{ VK_KHR_EXTERNAL_MEMORY_WIN32_EXTENSION_NAME, FF_VK_EXT_EXTERNAL_WIN32_MEMORY },
{ VK_KHR_EXTERNAL_SEMAPHORE_WIN32_EXTENSION_NAME, FF_VK_EXT_EXTERNAL_WIN32_SEM },