quakeforge/libs/video/renderer/glsl
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
..
glsl_alias.c [cvar] Make cvars properly typed 2022-04-24 19:15:22 +09:00
glsl_bsp.c [glsl,vulkan] More comments in the bsp code 2022-05-19 13:26:45 +09:00
glsl_draw.c [renderer] Fix the other renderers for qwaq not loading gfx.wad 2022-05-09 16:30:05 +09:00
glsl_fisheye.c [cvar] Make cvars properly typed 2022-04-24 19:15:22 +09:00
glsl_iqm.c Update vec3_t/vec4f_t hacks to work with clang 2022-03-31 00:08:26 +09:00
glsl_lightmap.c [renderer] Remove namehack.h 2022-03-14 14:31:23 +09:00
glsl_main.c [vulkan] Move non-specific lighting code out of Vulkan 2022-05-05 23:49:30 +09:00
glsl_particles.c [cvar] Make cvars properly typed 2022-04-24 19:15:22 +09:00
glsl_shader.c [glsl] Put #line after any #version lines in the chunks 2022-03-25 09:01:27 +09:00
glsl_sprite.c Update vec3_t/vec4f_t hacks to work with clang 2022-03-31 00:08:26 +09:00
glsl_textures.c [renderer] Remove namehack.h 2022-03-14 14:31:23 +09:00
glsl_warp.c [glsl] Implement screen warp when in liquids 2022-03-25 09:01:27 +09:00
qfglsl.c Separate render and presentation initialization 2019-07-09 01:00:47 +09:00
quakeforge.glsl [glsl] Implement fisheye rendering 2022-03-25 12:22:16 +09:00
vid_common_glsl.c [cvar] Make cvars properly typed 2022-04-24 19:15:22 +09:00