quakeforge/libs/video
Bill Currie beb05f28ff [glsl,vulkan] More comments in the bsp code
And maybe a nano-optimization. Switching from (~side + 1) to (-side)
seems to give glsl a very tiny speed boost, but certainly doesn't hurt.
Looking at some assembly output for the three cases, the two hacks seem
to generate the same code as each other, but 3 instructions vs 6 for ?:.
While ?: is more generically robust, the hacks are tuned for the
knowledge side is either 0 or 1. The later xor might alter things, but
at least I now know that the hack (either version) is worthwhile.
2022-05-19 13:26:45 +09:00
..
renderer [glsl,vulkan] More comments in the bsp code 2022-05-19 13:26:45 +09:00
targets Merge branch 'master' into wip-rua_scene 2022-04-25 08:13:35 +09:00
Makemodule.am [build] Move to non-recursive make 2020-06-25 11:35:37 +09:00