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. |
||
---|---|---|
.. | ||
debug_utils | ||
engines | ||
renderer_opengl | ||
textures | ||
CMakeLists.txt | ||
dma_pusher.cpp | ||
dma_pusher.h | ||
gpu.cpp | ||
gpu.h | ||
macro_interpreter.cpp | ||
macro_interpreter.h | ||
memory_manager.cpp | ||
memory_manager.h | ||
morton.cpp | ||
morton.h | ||
rasterizer_cache.cpp | ||
rasterizer_cache.h | ||
rasterizer_interface.h | ||
renderer_base.cpp | ||
renderer_base.h | ||
surface.cpp | ||
surface.h | ||
video_core.cpp | ||
video_core.h |