aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/shader_cache.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/video_core/shader_cache.h')
-rw-r--r--src/video_core/shader_cache.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/video_core/shader_cache.h b/src/video_core/shader_cache.h
index 244146fe52..7d93a542ef 100644
--- a/src/video_core/shader_cache.h
+++ b/src/video_core/shader_cache.h
@@ -1,4 +1,4 @@
-// SPDX-FileCopyrightText: Copyright 2025 Eden Emulator Project
+// SPDX-FileCopyrightText: Copyright 2026 Eden Emulator Project
// SPDX-License-Identifier: GPL-3.0-or-later
// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project
@@ -10,7 +10,7 @@
#include <memory>
#include <mutex>
#include <span>
-#include <unordered_map>
+#include <ankerl/unordered_dense.h>
#include <utility>
#include <vector>
@@ -148,8 +148,8 @@ private:
mutable std::mutex lookup_mutex;
std::mutex invalidation_mutex;
- std::unordered_map<u64, std::unique_ptr<Entry>> lookup_cache;
- std::unordered_map<u64, std::vector<Entry*>> invalidation_cache;
+ ankerl::unordered_dense::map<u64, std::unique_ptr<Entry>> lookup_cache;
+ ankerl::unordered_dense::map<u64, std::vector<Entry*>> invalidation_cache;
std::vector<std::unique_ptr<ShaderInfo>> storage;
std::vector<Entry*> marked_for_removal;
};