diff options
| author | Stenzek <stenzek@gmail.com> | 2017-08-04 20:56:33 +1000 |
|---|---|---|
| committer | Stenzek <stenzek@gmail.com> | 2017-08-12 00:16:19 +1000 |
| commit | f8a64ab1fcefc4323e2b7e27b2e8804c51f7796d (patch) | |
| tree | 29f3b6b35cbd441ae9e283ab0334ef26c843f418 /Source/Core/InputCommon/ControllerInterface/XInput/XInput.cpp | |
| parent | 57673096703261bbca63719eb205988daa21d0b8 (diff) | |
UberShaderPixel: Use an if trees instead of switch statements on GL
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%.
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/XInput/XInput.cpp')
0 files changed, 0 insertions, 0 deletions
