diff options
| author | 2020-09-23 18:24:27 -0700 | |
|---|---|---|
| committer | 2020-09-23 18:24:27 -0700 | |
| commit | d66b897a6d7a2a0bc0a3910fbdb7c1c6028c21d0 (patch) | |
| tree | 7417466362259dae2d1a690d6aef8dcbc14a0b12 /src/video_core/query_cache.h | |
| parent | Merge pull request #4618 from german77/GcAdapterAutoMap (diff) | |
| parent | vk_query_cache: Hack counter destructor to avoid reserving queries (diff) | |
| download | yuzu-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.h | 6 |
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 | ||
| 94 | template <class QueryCache, class CachedQuery, class CounterStream, class HostCounter, | 94 | template <class QueryCache, class CachedQuery, class CounterStream, class HostCounter> |
| 95 | class QueryPool> | ||
| 96 | class QueryCacheBase { | 95 | class QueryCacheBase { |
| 97 | public: | 96 | public: |
| 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 | ||
| 209 | protected: | ||
| 210 | std::array<QueryPool, VideoCore::NumQueryTypes> query_pools; | ||
| 211 | |||
| 212 | private: | 208 | private: |
| 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) { |