diff options
| author | Ameer J <52414509+ameerj@users.noreply.github.com> | 2021-10-16 21:41:54 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-10-16 21:41:54 -0400 |
| commit | 3791c7ca82aafa8e007074dcc2059ff4ba4de22d (patch) | |
| tree | b70ed6e2d0f75589532a0e6c197b970bf328e20a /src/video_core/query_cache.h | |
| parent | 5b735a4c9dc14b63f68d8ef15f720e92f035f151 (diff) | |
| parent | 3f4444b552c47e07ff934750e25740a60382db0b (diff) | |
Merge pull request #7077 from FernandoS27/face-down
A series of fixes to queries and indexed samplers.
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: void AsyncFlushQuery(VAddr addr) { if (!uncommitted_flushes) { - uncommitted_flushes = std::make_shared<std::unordered_set<VAddr>>(); + uncommitted_flushes = std::make_shared<std::vector<VAddr>>(); } - uncommitted_flushes->insert(addr); + uncommitted_flushes->push_back(addr); } static constexpr std::uintptr_t PAGE_SIZE = 4096; @@ -276,8 +276,8 @@ private: std::array<CounterStream, VideoCore::NumQueryTypes> streams; - std::shared_ptr<std::unordered_set<VAddr>> uncommitted_flushes{}; - std::list<std::shared_ptr<std::unordered_set<VAddr>>> committed_flushes; + std::shared_ptr<std::vector<VAddr>> uncommitted_flushes{}; + std::list<std::shared_ptr<std::vector<VAddr>>> committed_flushes; }; template <class QueryCache, class HostCounter> |
