summaryrefslogtreecommitdiff
path: root/src/video_core/query_cache.h
diff options
context:
space:
mode:
authorGravatar bunnei2020-09-23 18:24:27 -0700
committerGravatar GitHub2020-09-23 18:24:27 -0700
commitd66b897a6d7a2a0bc0a3910fbdb7c1c6028c21d0 (patch)
tree7417466362259dae2d1a690d6aef8dcbc14a0b12 /src/video_core/query_cache.h
parentMerge pull request #4618 from german77/GcAdapterAutoMap (diff)
parentvk_query_cache: Hack counter destructor to avoid reserving queries (diff)
downloadyuzu-d66b897a6d7a2a0bc0a3910fbdb7c1c6028c21d0.tar.gz
yuzu-d66b897a6d7a2a0bc0a3910fbdb7c1c6028c21d0.tar.xz
yuzu-d66b897a6d7a2a0bc0a3910fbdb7c1c6028c21d0.zip
Merge pull request #4674 from ReinUsesLisp/timeline-semaphores
renderer_vulkan: Make unconditional use of VK_KHR_timeline_semaphore
Diffstat (limited to 'src/video_core/query_cache.h')
-rw-r--r--src/video_core/query_cache.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/video_core/query_cache.h b/src/video_core/query_cache.h
index d13a66bb6..fc54ca0ef 100644
--- a/src/video_core/query_cache.h
+++ b/src/video_core/query_cache.h
@@ -91,8 +91,7 @@ private:
91 std::shared_ptr<HostCounter> last; 91 std::shared_ptr<HostCounter> last;
92}; 92};
93 93
94template <class QueryCache, class CachedQuery, class CounterStream, class HostCounter, 94template <class QueryCache, class CachedQuery, class CounterStream, class HostCounter>
95 class QueryPool>
96class QueryCacheBase { 95class QueryCacheBase {
97public: 96public:
98 explicit QueryCacheBase(VideoCore::RasterizerInterface& rasterizer_, 97 explicit QueryCacheBase(VideoCore::RasterizerInterface& rasterizer_,
@@ -206,9 +205,6 @@ public:
206 committed_flushes.pop_front(); 205 committed_flushes.pop_front();
207 } 206 }
208 207
209protected:
210 std::array<QueryPool, VideoCore::NumQueryTypes> query_pools;
211
212private: 208private:
213 /// Flushes a memory range to guest memory and removes it from the cache. 209 /// Flushes a memory range to guest memory and removes it from the cache.
214 void FlushAndRemoveRegion(VAddr addr, std::size_t size) { 210 void FlushAndRemoveRegion(VAddr addr, std::size_t size) {