From e5e12c5078ab1a4ad04d03ed65749f584f96fd00 Mon Sep 17 00:00:00 2001 From: Lynne Date: Fri, 17 Feb 2023 10:09:34 +0100 Subject: [PATCH] hwcontext_vulkan: load query-related functions Needed for both encoding and decoding. --- libavutil/vulkan_functions.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/libavutil/vulkan_functions.h b/libavutil/vulkan_functions.h index 403382fe7f..2a7c383dc1 100644 --- a/libavutil/vulkan_functions.h +++ b/libavutil/vulkan_functions.h @@ -162,6 +162,15 @@ typedef enum FFVulkanExtensions { MACRO(1, 1, FF_VK_EXT_NO_FLAG, CreateDescriptorUpdateTemplate) \ MACRO(1, 1, FF_VK_EXT_NO_FLAG, DestroyDescriptorUpdateTemplate) \ \ + /* Queries */ \ + MACRO(1, 1, FF_VK_EXT_NO_FLAG, CreateQueryPool) \ + MACRO(1, 1, FF_VK_EXT_NO_FLAG, GetQueryPoolResults) \ + MACRO(1, 1, FF_VK_EXT_NO_FLAG, ResetQueryPool) \ + MACRO(1, 1, FF_VK_EXT_NO_FLAG, CmdBeginQuery) \ + MACRO(1, 1, FF_VK_EXT_NO_FLAG, CmdEndQuery) \ + MACRO(1, 1, FF_VK_EXT_NO_FLAG, CmdResetQueryPool) \ + MACRO(1, 1, FF_VK_EXT_NO_FLAG, DestroyQueryPool) \ + \ /* sync2 */ \ MACRO(1, 1, FF_VK_EXT_NO_FLAG, CmdPipelineBarrier2) \ \