diff options
| author | 2022-12-02 17:12:54 -0500 | |
|---|---|---|
| committer | 2022-12-04 10:55:13 -0500 | |
| commit | 7fc6514be12c79f8fe1a87ee8b5f0ae9b04b2462 (patch) | |
| tree | 666b273617ffcbd4f1fc11c11cf663c1fed25044 /src/video_core/renderer_vulkan | |
| parent | vulkan_common: promote descriptor update template usage to core (diff) | |
| download | yuzu-7fc6514be12c79f8fe1a87ee8b5f0ae9b04b2462.tar.gz yuzu-7fc6514be12c79f8fe1a87ee8b5f0ae9b04b2462.tar.xz yuzu-7fc6514be12c79f8fe1a87ee8b5f0ae9b04b2462.zip | |
vulkan_common: promote host query reset usage to core
Diffstat (limited to 'src/video_core/renderer_vulkan')
| -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 | |||
| 98 | query{cache_.AllocateQuery(type_)}, tick{cache_.GetScheduler().CurrentTick()} { | 98 | query{cache_.AllocateQuery(type_)}, tick{cache_.GetScheduler().CurrentTick()} { |
| 99 | const vk::Device* logical = &cache.GetDevice().GetLogical(); | 99 | const vk::Device* logical = &cache.GetDevice().GetLogical(); |
| 100 | cache.GetScheduler().Record([logical, query = query](vk::CommandBuffer cmdbuf) { | 100 | cache.GetScheduler().Record([logical, query = query](vk::CommandBuffer cmdbuf) { |
| 101 | logical->ResetQueryPoolEXT(query.first, query.second, 1); | 101 | logical->ResetQueryPool(query.first, query.second, 1); |
| 102 | cmdbuf.BeginQuery(query.first, query.second, VK_QUERY_CONTROL_PRECISE_BIT); | 102 | cmdbuf.BeginQuery(query.first, query.second, VK_QUERY_CONTROL_PRECISE_BIT); |
| 103 | }); | 103 | }); |
| 104 | } | 104 | } |