quakeforge/libs/video/renderer
Bill Currie 2c59a400e4 [vulkan] Ensure memory size is aligned
While the base of a memory object was aligned when calculating the
memory block size, the top end was not, which could result in the memory
block not getting enough bytes allocated to satisfy alignment
requirements (eg, for flushing).

While fixing that, I noticed the offsets of objects were not being
aligned when binding, so that is fixed as well.

Fixes Mr Fixit on my VersaPro.
2022-10-14 19:36:21 +09:00
..
gl [renderer] Add fontid to Draw_AddFont and Draw_FontString 2022-10-03 09:01:54 +09:00
glsl [renderer] Add fontid to Draw_AddFont and Draw_FontString 2022-10-03 09:01:54 +09:00
sw [renderer] Add fontid to Draw_AddFont and Draw_FontString 2022-10-03 09:01:54 +09:00
vulkan [vulkan] Ensure memory size is aligned 2022-10-14 19:36:21 +09:00
crosshair.c Add a new crosshair. 2012-12-12 19:36:50 +09:00
font8x8.c [renderer] Add a default 8x8 font 2021-01-08 14:37:52 +09:00
Makemodule.am [vullkan] Rework Draw implementation 2022-10-03 10:29:49 +09:00
noisetextures.c Change pointer_t to unsigned and clean up the mess. 2012-12-21 21:53:13 +09:00
r_alias.c [scene] Move entity_t etc into scene headers 2022-03-29 14:43:38 +09:00
r_billboard.c [renderer] Move a couple functions to using vec4f_t 2022-03-30 23:53:30 +09:00
r_bsp.c [model] Move visframe out of msurface_t 2022-05-22 16:38:50 +09:00
r_cvar.c [vid] Remove console view from viddef_t 2022-09-21 17:31:18 +09:00
r_draw.c [renderer] Return count of lines printed to char buffer 2022-09-20 10:27:24 +09:00
r_dyn_textures.c [image] Change tex_t data from array to pointer 2021-01-25 00:54:41 +09:00
r_efrag.c [model] Move plane info into mnode_t, and visframe out 2022-05-22 12:41:23 +09:00
r_ent.c [sound] Remove a pile of unwanted sound.h includes 2022-06-03 15:43:53 +09:00
r_fog.c [renderer] Fix some non-static linking issues 2022-03-09 06:55:31 +09:00
r_font.c [renderer] Reduce glyph pixel area padding from 2x to 1.2x 2022-10-07 16:58:04 +09:00
r_graph.c [cvar] Make cvars properly typed 2022-04-24 19:15:22 +09:00
r_init.c [plugin] Ensure plugins get unloaded during shutdown 2022-05-12 20:58:39 +09:00
r_iqm.c [scene] Move entity_t etc into scene headers 2022-03-29 14:43:38 +09:00
r_light.c [model] Move visframe out of msurface_t 2022-05-22 16:38:50 +09:00
r_main.c [model] Move plane info into mnode_t, and visframe out 2022-05-22 12:41:23 +09:00
r_part.c [cvar] Make cvars properly typed 2022-04-24 19:15:22 +09:00
r_progs.c [renderer] Add fontid to Draw_AddFont and Draw_FontString 2022-10-03 09:01:54 +09:00
r_scrap.c [renderer] Use better heuristics for scrap allocation 2022-09-20 19:32:49 +09:00
r_screen.c Merge branch 'master' into wip-twod 2022-09-22 10:06:00 +09:00
r_sprite.c [scene] Move entity_t etc into scene headers 2022-03-29 14:43:38 +09:00
r_text.c [renderer] Switch to using HarfBuzz for glyph positioning 2022-09-04 20:56:38 +09:00
vid_common.c [renderer] Clean up particles a little 2022-03-29 14:43:38 +09:00
vid_render_gl.c [renderer] Use designated inits on more structs 2022-09-25 10:37:07 +09:00
vid_render_glsl.c [renderer] Use designated inits on more structs 2022-09-25 10:37:07 +09:00
vid_render_sw.c [renderer] Use designated inits on more structs 2022-09-25 10:37:07 +09:00
vid_render_vulkan.c [renderer] Add fontid to Draw_AddFont and Draw_FontString 2022-10-03 09:01:54 +09:00