diff options
Diffstat (limited to 'src/video_core/query_cache.h')
| -rw-r--r-- | src/video_core/query_cache.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/video_core/query_cache.h b/src/video_core/query_cache.h index 73231061a..392f82eb7 100644 --- a/src/video_core/query_cache.h +++ b/src/video_core/query_cache.h | |||
| @@ -258,9 +258,9 @@ private: | |||
| 258 | 258 | ||
| 259 | void AsyncFlushQuery(VAddr addr) { | 259 | void AsyncFlushQuery(VAddr addr) { |
| 260 | if (!uncommitted_flushes) { | 260 | if (!uncommitted_flushes) { |
| 261 | uncommitted_flushes = std::make_shared<std::unordered_set<VAddr>>(); | 261 | uncommitted_flushes = std::make_shared<std::vector<VAddr>>(); |
| 262 | } | 262 | } |
| 263 | uncommitted_flushes->insert(addr); | 263 | uncommitted_flushes->push_back(addr); |
| 264 | } | 264 | } |
| 265 | 265 | ||
| 266 | static constexpr std::uintptr_t PAGE_SIZE = 4096; | 266 | static constexpr std::uintptr_t PAGE_SIZE = 4096; |
| @@ -276,8 +276,8 @@ private: | |||
| 276 | 276 | ||
| 277 | std::array<CounterStream, VideoCore::NumQueryTypes> streams; | 277 | std::array<CounterStream, VideoCore::NumQueryTypes> streams; |
| 278 | 278 | ||
| 279 | std::shared_ptr<std::unordered_set<VAddr>> uncommitted_flushes{}; | 279 | std::shared_ptr<std::vector<VAddr>> uncommitted_flushes{}; |
| 280 | std::list<std::shared_ptr<std::unordered_set<VAddr>>> committed_flushes; | 280 | std::list<std::shared_ptr<std::vector<VAddr>>> committed_flushes; |
| 281 | }; | 281 | }; |
| 282 | 282 | ||
| 283 | template <class QueryCache, class HostCounter> | 283 | template <class QueryCache, class HostCounter> |