aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/buffer_cache/buffer_cache.h
diff options
context:
space:
mode:
authorheapo <heapo3@gmail.com>2018-12-04 10:32:00 -0800
committerheapo <heapo3@gmail.com>2018-12-04 17:13:07 -0800
commit5c8f2009bb85619f6a8a964628b5767c0f805dbb (patch)
treefe5132bfe5d2b51abb64cf3f060fa6238bbadb3b /src/video_core/buffer_cache/buffer_cache.h
parenta20eec1c58f974fc00080d53e45fb25ad9309203 (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/video_core/buffer_cache/buffer_cache.h')
0 files changed, 0 insertions, 0 deletions