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/renderer_vulkan/vk_query_cache.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/renderer_vulkan/vk_query_cache.cpp')
-rw-r--r-- | src/video_core/renderer_vulkan/vk_query_cache.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/renderer_vulkan/vk_query_cache.cpp b/src/video_core/renderer_vulkan/vk_query_cache.cpp index 4b15c0f85..929c8ece6 100644 --- a/src/video_core/renderer_vulkan/vk_query_cache.cpp +++ b/src/video_core/renderer_vulkan/vk_query_cache.cpp @@ -98,7 +98,7 @@ HostCounter::HostCounter(QueryCache& cache_, std::shared_ptr<HostCounter> depend query{cache_.AllocateQuery(type_)}, tick{cache_.GetScheduler().CurrentTick()} { const vk::Device* logical = &cache.GetDevice().GetLogical(); cache.GetScheduler().Record([logical, query = query](vk::CommandBuffer cmdbuf) { - logical->ResetQueryPoolEXT(query.first, query.second, 1); + logical->ResetQueryPool(query.first, query.second, 1); cmdbuf.BeginQuery(query.first, query.second, VK_QUERY_CONTROL_PRECISE_BIT); }); } |