xash3d-fwgs/ref/vk
Ivan 'provod' Avdeev fd97dc2c24 vk: fix texture corruption after a few changelevels
We were running out of descriptor sets, as they weren't being freed at all.
Now there's a 1-1 table of texture-descset, and no way to run out of them.

Better solution would be to move this descset management to vk_render, and allocate them dynamically from a smaller pool.
2023-10-17 13:17:47 -04:00
..
data Merge pull request #591 from w23/everything-is-smooth 2023-10-05 22:00:39 +03:00
shaders Fix dummy textures allocation. Fixes 532 2023-10-13 20:47:30 +03:00
NOTES.md vk: clean up public rendering texture api 2023-10-17 11:26:29 -04:00
TODO.md move ref_vk to ref/vk 2023-02-16 10:30:31 -08:00
alolcator.c vk: alolcator: report pool allocation failures correctly 2023-09-14 13:42:47 -04:00
alolcator.h vk: add block allocator draft 2023-05-25 12:12:18 -07:00
bitarray.c move ref_vk to ref/vk 2023-02-16 10:30:31 -08:00
bitarray.h move ref_vk to ref/vk 2023-02-16 10:30:31 -08:00
camera.c vk: refactor passing m,v,p matrices around 2023-05-04 11:10:22 -07:00
camera.h vk: refactor passing m,v,p matrices around 2023-05-04 11:10:22 -07:00
common_geometry.c move ref_vk to ref/vk 2023-02-16 10:30:31 -08:00
debugbreak.h vk: use better debug_break in validation errors callback 2023-05-18 11:58:00 -07:00
dumbspter.c move ref_vk to ref/vk 2023-02-16 10:30:31 -08:00
infotool.c vk: infotool: mark ent index as dynamic 2023-04-28 11:31:41 -07:00
pcg.h vk: textures: add blue noise textures 2023-09-11 12:31:03 -04:00
profiler.c move ref_vk to ref/vk 2023-02-16 10:30:31 -08:00
profiler.h vk: profiler: metrics: little tweaks 2023-09-18 02:57:09 +03:00
r_block.c vk: add "persistent" speeds metrics for used memory, etc 2023-06-14 11:23:09 -07:00
r_block.h vk: add "persistent" speeds metrics for used memory, etc 2023-06-14 11:23:09 -07:00
r_flipping.h rt: start adding new rt_blas-based rt_model_t 2023-05-30 12:14:44 -07:00
r_speeds.c vk: show only `speeds.` metrics when doing `SPEEDS_BIT_STATS`(2) 2023-10-17 07:46:16 -07:00
r_speeds.h vk: profiler: metrics: store filepath, but print only filename 2023-09-18 00:35:35 +03:00
ray_materials.md move ref_vk to ref/vk 2023-02-16 10:30:31 -08:00
ray_pass.c [draft] vk: start refactoring commandbuffer/gpu profiler 2023-04-10 10:24:57 -07:00
ray_pass.h [draft] vk: start refactoring commandbuffer/gpu profiler 2023-04-10 10:24:57 -07:00
ray_resources.c move ref_vk to ref/vk 2023-02-16 10:30:31 -08:00
ray_resources.h move ref_vk to ref/vk 2023-02-16 10:30:31 -08:00
rlight.c move ref_vk to ref/vk 2023-02-16 10:30:31 -08:00
sebastian.py move ref_vk to ref/vk 2023-02-16 10:30:31 -08:00
spirv.py move ref_vk to ref/vk 2023-02-16 10:30:31 -08:00
vk_beams.c vk: add "persistent" speeds metrics for used memory, etc 2023-06-14 11:23:09 -07:00
vk_beams.h vk: profiler: add beams count metric 2023-03-25 12:03:41 -07:00
vk_brush.c vk: free textures on map change (DO NOT USE) 2023-10-17 11:43:38 -04:00
vk_brush.h vk: free textures on map change (DO NOT USE) 2023-10-17 11:43:38 -04:00
vk_buffer.c move ref_vk to ref/vk 2023-02-16 10:30:31 -08:00
vk_buffer.h vk: add block allocator draft 2023-05-25 12:12:18 -07:00
vk_combuf.c vk: fix validation errors for empty combufs 2023-04-13 11:03:36 -07:00
vk_combuf.h vk: profiler: register gpu scopes as metrics for graph purposes 2023-04-10 10:24:57 -07:00
vk_commandpool.c move ref_vk to ref/vk 2023-02-16 10:30:31 -08:00
vk_commandpool.h move ref_vk to ref/vk 2023-02-16 10:30:31 -08:00
vk_common.h vk: silence a bunch of verbose logs 2023-09-07 10:43:21 -04:00
vk_const.h move ref_vk to ref/vk 2023-02-16 10:30:31 -08:00
vk_core.c ref: vk: enable compiling with older Vulkan headers 2023-10-07 00:53:15 +03:00
vk_core.h vk: recreate suboptimal swapchains with correct synchronization 2023-05-18 12:32:00 -07:00
vk_cvar.c vk: add runtime-toggleable debug logs with module granularity 2023-08-29 12:31:57 -04:00
vk_cvar.h vk: add runtime-toggleable debug logs with module granularity 2023-08-29 12:31:57 -04:00
vk_descriptor.c vk: fix texture corruption after a few changelevels 2023-10-17 13:17:47 -04:00
vk_descriptor.h vk: fix texture corruption after a few changelevels 2023-10-17 13:17:47 -04:00
vk_devmem.c move ref_vk to ref/vk 2023-02-16 10:30:31 -08:00
vk_devmem.h move ref_vk to ref/vk 2023-02-16 10:30:31 -08:00
vk_entity_data.c vk: studio: handle first half of entity reuse 2023-08-28 09:11:48 -07:00
vk_entity_data.h vk: studio: track studio model state by entity 2023-08-28 09:11:48 -07:00
vk_framectl.c vk: add a bunch of profiler scopes to rt rendering 2023-10-09 13:02:04 -04:00
vk_framectl.h [draft] vk: start refactoring commandbuffer/gpu profiler 2023-04-10 10:24:57 -07:00
vk_geometry.c vk: add "persistent" speeds metrics for used memory, etc 2023-06-14 11:23:09 -07:00
vk_geometry.h vk: add block allocator draft 2023-05-25 12:12:18 -07:00
vk_image.c vk: better swizzling 2023-10-16 12:08:54 -04:00
vk_image.h vk: better swizzling 2023-10-16 12:08:54 -04:00
vk_image_extra.h vk: better swizzling 2023-10-16 12:08:54 -04:00
vk_light.c vk: add a bunch of profiler scopes to rt rendering 2023-10-09 13:02:04 -04:00
vk_light.h vk: profiler: add a way to add arbitrary metrics to profiler 2023-03-25 12:03:41 -07:00
vk_lightmap.c vk: clean up public rendering texture api 2023-10-17 11:26:29 -04:00
vk_lightmap.h move ref_vk to ref/vk 2023-02-16 10:30:31 -08:00
vk_logs.c vk: add logs and notes about mod/spr load sequence 2023-09-26 12:25:40 -04:00
vk_logs.h vk: add logs and notes about mod/spr load sequence 2023-09-26 12:25:40 -04:00
vk_mapents.c vk: patch: allow smoothing entire brush model 2023-10-02 11:18:22 -04:00
vk_mapents.h vk: patch: allow smoothing entire brush model 2023-10-02 11:18:22 -04:00
vk_materials.c vk: clean up public rendering texture api 2023-10-17 11:26:29 -04:00
vk_materials.h vk: fix roughness on studio model chrome textures 2023-10-16 08:00:15 -07:00
vk_math.c vk: fix disappearing sprites for traditional renderer 2023-06-01 11:42:23 -07:00
vk_math.h vk: orient sprites to camera 2023-06-01 11:00:50 -07:00
vk_meatpipe.c vk: add a bunch of profiler scopes to rt rendering 2023-10-09 13:02:04 -04:00
vk_meatpipe.h [draft] vk: start refactoring commandbuffer/gpu profiler 2023-04-10 10:24:57 -07:00
vk_misc.c move ref_vk to ref/vk 2023-02-16 10:30:31 -08:00
vk_nv_aftermath.c vk: fixup compilation w/o aftermath sdk 2023-02-23 18:59:14 -08:00
vk_nv_aftermath.h vk: change how device extensions are checked 2023-02-23 13:48:41 -08:00
vk_overlay.c vk: fix texture corruption after a few changelevels 2023-10-17 13:17:47 -04:00
vk_overlay.h vk: do not draw into empty swapchain 2023-09-12 10:48:26 -07:00
vk_pipeline.c [draft] vk: start refactoring commandbuffer/gpu profiler 2023-04-10 10:24:57 -07:00
vk_pipeline.h [draft] vk: start refactoring commandbuffer/gpu profiler 2023-04-10 10:24:57 -07:00
vk_ray_accel.c vk: add a bunch of profiler scopes to rt rendering 2023-10-09 13:02:04 -04:00
vk_ray_accel.h rt: massage vk_ray_model a bit 2023-05-22 10:39:48 -07:00
vk_ray_internal.h vk: pass material reference explicitly in geom structure 2023-09-19 13:05:12 -04:00
vk_ray_model.c vk: rt: convert more engine-supplied colors from sRGB to linear 2023-10-10 11:56:42 -04:00
vk_render.c vk: fix texture corruption after a few changelevels 2023-10-17 13:17:47 -04:00
vk_render.h vk: rt: pass material mode directly from draw command 2023-09-26 13:14:28 -04:00
vk_renderstate.c move ref_vk to ref/vk 2023-02-16 10:30:31 -08:00
vk_renderstate.h vk: make trad sprites more like gl ones 2023-02-24 17:43:07 -08:00
vk_rmain.c vk: free textures on map change (DO NOT USE) 2023-10-17 11:43:38 -04:00
vk_rpart.c vk: fix tracers colors 2023-02-27 11:00:34 -08:00
vk_rpart.h vk: add tracers (not tested) 2023-02-27 10:37:03 -08:00
vk_rtx.c vk: better swizzling 2023-10-16 12:08:54 -04:00
vk_rtx.h vk: rt: convert more engine-supplied colors from sRGB to linear 2023-10-10 11:56:42 -04:00
vk_scene.c vk: clean up public rendering texture api 2023-10-17 11:26:29 -04:00
vk_scene.h vk: track block/geom/brush lifetimes 2023-05-26 10:45:44 -07:00
vk_sprite.c vk: free textures on map change (DO NOT USE) 2023-10-17 11:43:38 -04:00
vk_sprite.h vk: free textures on map change (DO NOT USE) 2023-10-17 11:43:38 -04:00
vk_staging.c vk: add "persistent" speeds metrics for used memory, etc 2023-06-14 11:23:09 -07:00
vk_staging.h vk: profiler: cover staging with combuf scopes; add build_as time 2023-04-10 10:24:57 -07:00
vk_studio.c vk: clean up public rendering texture api 2023-10-17 11:26:29 -04:00
vk_studio.h vk: free textures on map change (DO NOT USE) 2023-10-17 11:43:38 -04:00
vk_studio_model.c vk: fix crashing on reloading materials 2023-09-29 13:02:51 -04:00
vk_studio_model.h vk: studio: do not ignore parent bones when detecting static submodels 2023-09-12 11:12:40 -07:00
vk_swapchain.c vk: remove extra stuff, add comments about SRGB swapchain 2023-10-09 13:13:11 -04:00
vk_swapchain.h move ref_vk to ref/vk 2023-02-16 10:30:31 -08:00
vk_textures.c vk: fix texture corruption after a few changelevels 2023-10-17 13:17:47 -04:00
vk_textures.h vk: clean up public rendering texture api 2023-10-17 11:26:29 -04:00
vk_triapi.c vk: explicitly pass old original texture for trad renderer 2023-09-19 13:20:04 -04:00
vk_triapi.h vk: revert beam segs to use triapi, like gl 2023-06-06 09:29:05 -07:00
wscript move ref_vk to ref/vk 2023-02-16 10:30:31 -08:00