diff options
author | heapo <heapo3@gmail.com> | 2018-12-04 10:32:00 -0800 |
---|---|---|
committer | heapo <heapo3@gmail.com> | 2018-12-04 17:13:07 -0800 |
commit | 7853e6b5d4b0276b5757f3d5ebad423b199d6be9 (patch) | |
tree | fe5132bfe5d2b51abb64cf3f060fa6238bbadb3b /src/yuzu/configuration/config.cpp | |
parent | 465f486160b59c72a85b0f75aca310647b38155c (diff) |
Improve msvc codegen for hot-path array LUTs
In some constexpr functions, msvc is building the LUT at runtime
(pushing each element onto the stack) out of an abundance of caution. Moving the
arrays into be file-scoped constexpr's avoids this and turns the functions into
simple look-ups as intended.
Diffstat (limited to 'src/yuzu/configuration/config.cpp')
0 files changed, 0 insertions, 0 deletions