diff options
author | Lioncash <mathew1800@gmail.com> | 2019-10-23 23:44:30 -0400 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2019-10-24 00:25:38 -0400 |
commit | 382717172e7c05f7487e6504b9ae98eeea768e1d (patch) | |
tree | 3763e62e6f05e46a26c0acf4a7e129e8786ee0fe /src/video_core/surface.cpp | |
parent | 012d7f52337bae999abcc4943b45b8fe5ab5f7a3 (diff) |
shader_ir: Use std::array with pair instead of unordered_map
Given the overall size of the maps are very small, we can use arrays of
pairs here instead of always heap allocating a new map every time the
functions are called. Given the small size of the maps, the difference
in container lookups are negligible, especially given the entries are
already sorted.
Diffstat (limited to 'src/video_core/surface.cpp')
0 files changed, 0 insertions, 0 deletions