diff options
author | Liam <byteslice@airmail.cc> | 2022-12-02 23:12:54 +0100 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2022-12-04 16:55:13 +0100 |
commit | 7fc6514be12c79f8fe1a87ee8b5f0ae9b04b2462 (patch) | |
tree | 666b273617ffcbd4f1fc11c11cf663c1fed25044 /src/video_core/vulkan_common/vulkan_wrapper.cpp | |
parent | vulkan_common: promote descriptor update template usage to core (diff) | |
download | yuzu-7fc6514be12c79f8fe1a87ee8b5f0ae9b04b2462.tar yuzu-7fc6514be12c79f8fe1a87ee8b5f0ae9b04b2462.tar.gz yuzu-7fc6514be12c79f8fe1a87ee8b5f0ae9b04b2462.tar.bz2 yuzu-7fc6514be12c79f8fe1a87ee8b5f0ae9b04b2462.tar.lz yuzu-7fc6514be12c79f8fe1a87ee8b5f0ae9b04b2462.tar.xz yuzu-7fc6514be12c79f8fe1a87ee8b5f0ae9b04b2462.tar.zst yuzu-7fc6514be12c79f8fe1a87ee8b5f0ae9b04b2462.zip |
Diffstat (limited to 'src/video_core/vulkan_common/vulkan_wrapper.cpp')
-rw-r--r-- | src/video_core/vulkan_common/vulkan_wrapper.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/video_core/vulkan_common/vulkan_wrapper.cpp b/src/video_core/vulkan_common/vulkan_wrapper.cpp index f842524c4..1592d4184 100644 --- a/src/video_core/vulkan_common/vulkan_wrapper.cpp +++ b/src/video_core/vulkan_common/vulkan_wrapper.cpp @@ -184,7 +184,7 @@ void Load(VkDevice device, DeviceDispatch& dld) noexcept { X(vkMapMemory); X(vkQueueSubmit); X(vkResetFences); - X(vkResetQueryPoolEXT); + X(vkResetQueryPool); X(vkSetDebugUtilsObjectNameEXT); X(vkSetDebugUtilsObjectTagEXT); X(vkUnmapMemory); @@ -199,6 +199,11 @@ void Load(VkDevice device, DeviceDispatch& dld) noexcept { Proc(dld.vkWaitForFences, dld, "vkWaitForFencesKHR", device); Proc(dld.vkWaitSemaphores, dld, "vkWaitSemaphoresKHR", device); } + + // Support for host query reset is mandatory in Vulkan 1.2 + if (!dld.vkResetQueryPool) { + Proc(dld.vkResetQueryPool, dld, "vkResetQueryPoolEXT", device); + } #undef X } |