mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-04-08 14:00:57 -04:00
The switch statements in these functions appear to get transformed into an if..else chain on NVIDIA's OpenGL/Vulkan drivers, resulting in lower performance than the D3D counterparts. Transforming the switch into a binary tree of ifs can increase performance by up to 20%.