diff options
author | liamwhite <liamwhite@users.noreply.github.com> | 2022-12-04 18:14:06 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-04 18:14:06 +0100 |
commit | ec547824f1f6c347339895057288a990222f21f8 (patch) | |
tree | 2c2e2d8c82aa7113d90882a63fdf4ea2e475be09 /src/video_core/renderer_vulkan/vk_query_cache.cpp | |
parent | Merge pull request #9379 from liamwhite/cmake-mess (diff) | |
parent | vulkan_common: add feature test for shaderDrawParameters (diff) | |
download | yuzu-ec547824f1f6c347339895057288a990222f21f8.tar yuzu-ec547824f1f6c347339895057288a990222f21f8.tar.gz yuzu-ec547824f1f6c347339895057288a990222f21f8.tar.bz2 yuzu-ec547824f1f6c347339895057288a990222f21f8.tar.lz yuzu-ec547824f1f6c347339895057288a990222f21f8.tar.xz yuzu-ec547824f1f6c347339895057288a990222f21f8.tar.zst yuzu-ec547824f1f6c347339895057288a990222f21f8.zip |
Diffstat (limited to '')
-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); }); } |