summaryrefslogtreecommitdiff
path: root/src/core/frontend/framebuffer_layout.cpp
diff options
context:
space:
mode:
authorGravatar heapo2018-12-04 10:32:00 -0800
committerGravatar heapo2018-12-04 17:13:07 -0800
commit7853e6b5d4b0276b5757f3d5ebad423b199d6be9 (patch)
treefe5132bfe5d2b51abb64cf3f060fa6238bbadb3b /src/core/frontend/framebuffer_layout.cpp
parentMerge pull request #1845 from lioncash/nro (diff)
downloadyuzu-7853e6b5d4b0276b5757f3d5ebad423b199d6be9.tar.gz
yuzu-7853e6b5d4b0276b5757f3d5ebad423b199d6be9.tar.xz
yuzu-7853e6b5d4b0276b5757f3d5ebad423b199d6be9.zip
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/core/frontend/framebuffer_layout.cpp')
0 files changed, 0 insertions, 0 deletions