diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2023-04-23 21:55:16 +0200 |
---|---|---|
committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2023-04-23 22:04:14 +0200 |
commit | e29ced29fa54bf36a06545c53d1d523f3a31f883 (patch) | |
tree | d3c33325727bdd080d95d7f95018ae710f1dbf2f /src/video_core/renderer_vulkan/vk_query_cache.h | |
parent | Accuracy Normal: reduce accuracy further for perf improvements in Project Lime (diff) | |
download | yuzu-e29ced29fa54bf36a06545c53d1d523f3a31f883.tar yuzu-e29ced29fa54bf36a06545c53d1d523f3a31f883.tar.gz yuzu-e29ced29fa54bf36a06545c53d1d523f3a31f883.tar.bz2 yuzu-e29ced29fa54bf36a06545c53d1d523f3a31f883.tar.lz yuzu-e29ced29fa54bf36a06545c53d1d523f3a31f883.tar.xz yuzu-e29ced29fa54bf36a06545c53d1d523f3a31f883.tar.zst yuzu-e29ced29fa54bf36a06545c53d1d523f3a31f883.zip |
Diffstat (limited to 'src/video_core/renderer_vulkan/vk_query_cache.h')
-rw-r--r-- | src/video_core/renderer_vulkan/vk_query_cache.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/video_core/renderer_vulkan/vk_query_cache.h b/src/video_core/renderer_vulkan/vk_query_cache.h index 26762ee09..c1b9552eb 100644 --- a/src/video_core/renderer_vulkan/vk_query_cache.h +++ b/src/video_core/renderer_vulkan/vk_query_cache.h @@ -52,7 +52,8 @@ private: class QueryCache final : public VideoCommon::QueryCacheBase<QueryCache, CachedQuery, CounterStream, HostCounter> { public: - explicit QueryCache(VideoCore::RasterizerInterface& rasterizer_, const Device& device_, + explicit QueryCache(VideoCore::RasterizerInterface& rasterizer_, + Core::Memory::Memory& cpu_memory_, const Device& device_, Scheduler& scheduler_); ~QueryCache(); @@ -83,7 +84,7 @@ public: void EndQuery(); private: - u64 BlockingQuery() const override; + u64 BlockingQuery(bool async = false) const override; QueryCache& cache; const VideoCore::QueryType type; |