X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavutil%2Fhwcontext_vulkan.h;h=e4645527d7df0712707401e09d280232c6e45374;hb=4a6581e968d38f009140e055e29be9953279cc7b;hp=ab075a74e0ce04d98bc314e403419eb332c75915;hpb=ffeeff4fbccbf9c9269ac24fe56285b224426141;p=ffmpeg diff --git a/libavutil/hwcontext_vulkan.h b/libavutil/hwcontext_vulkan.h index ab075a74e0c..e4645527d7d 100644 --- a/libavutil/hwcontext_vulkan.h +++ b/libavutil/hwcontext_vulkan.h @@ -42,6 +42,13 @@ typedef struct AVVulkanDeviceContext { */ const VkAllocationCallbacks *alloc; + /** + * Pointer to the instance-provided vkGetInstanceProcAddr loading function. + * If NULL, will pick either libvulkan or libvolk, depending on libavutil's + * compilation settings, and set this field. + */ + PFN_vkGetInstanceProcAddr get_proc_addr; + /** * Vulkan instance. Must be at least version 1.1. */