aboutsummaryrefslogtreecommitdiff
path: root/src/shader_recompiler/environment.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/shader_recompiler/environment.h')
-rw-r--r--src/shader_recompiler/environment.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/shader_recompiler/environment.h b/src/shader_recompiler/environment.h
index 106fe8d32d..0a6e4bfcaa 100644
--- a/src/shader_recompiler/environment.h
+++ b/src/shader_recompiler/environment.h
@@ -7,7 +7,7 @@
#pragma once
#include <array>
-#include <unordered_map>
+#include <ankerl/unordered_dense.h>
#include "common/common_types.h"
#include "shader_recompiler/program_header.h"
@@ -125,9 +125,9 @@ protected:
u32 start_address{};
bool is_proprietary_driver{};
public:
- std::unordered_map<CbufWordKey, u32, CbufWordKeyHash> cbuf_word_cache;
- std::unordered_map<HandleKey, u32, HandleKeyHash> handle_cache;
- std::unordered_map<const IR::Inst*, ConstBufferAddr> track_cache;
+ ankerl::unordered_dense::map<CbufWordKey, u32, CbufWordKeyHash> cbuf_word_cache;
+ ankerl::unordered_dense::map<HandleKey, u32, HandleKeyHash> handle_cache;
+ ankerl::unordered_dense::map<const IR::Inst*, ConstBufferAddr> track_cache;
};
} // namespace Shader