summaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/kernel.cpp
diff options
context:
space:
mode:
authorGravatar Markus Wick2018-09-04 20:55:34 +0200
committerGravatar Markus Wick2018-09-04 21:04:41 +0200
commit99a71580c4356c51bcb5f18b10be55f1e62a65e5 (patch)
tree8e32bd63d0d5e0297208959bbb9b6851ab39ba8f /src/core/hle/kernel/kernel.cpp
parentMerge pull request #1238 from lioncash/explicit (diff)
downloadyuzu-99a71580c4356c51bcb5f18b10be55f1e62a65e5.tar.gz
yuzu-99a71580c4356c51bcb5f18b10be55f1e62a65e5.tar.xz
yuzu-99a71580c4356c51bcb5f18b10be55f1e62a65e5.zip
gl_shader_cache: Use an u32 for the binding point cache.
The std::string generation with its malloc and free requirement was a noticeable overhead. Also switch to an ordered_map to avoid the std::hash call. As those maps usually have a size of two elements, the lookup time shall not matter.
Diffstat (limited to 'src/core/hle/kernel/kernel.cpp')
0 files changed, 0 insertions, 0 deletions