Stenzek f8a64ab1fc 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%.
2017-08-12 00:16:19 +10:00
..
2017-05-26 00:53:58 -07:00
2016-01-17 20:11:45 -05:00
2017-07-30 17:43:59 +10:00
2017-07-30 17:43:59 +10:00
2017-03-26 23:08:33 -04:00
2017-06-15 21:34:04 +02:00
2017-08-08 12:09:50 +02:00
2017-04-18 21:55:23 +10:00
2017-04-18 21:55:23 +10:00
2015-05-25 13:22:31 +02:00
2017-08-08 12:09:50 +02:00
2017-05-18 17:01:12 -07:00
2017-08-08 12:09:50 +02:00
2016-01-17 20:11:45 -05:00