xash3d-fwgs/ref/vk
Ivan 'provod' Avdeev 03fc537d54 vk: studio: implement proper per-submodel rendermodel cache
Gives out individual render submodels for dynamic ones, receives and remembers them when they are not needed anymore.

Stores only one render submodel for static ones. Reuses/instantiates it for everyone.
2023-08-28 09:11:48 -07:00
..
data update patches 2023-05-05 15:12:28 -07:00
shaders rt: implement fast dynamic models 2023-06-07 10:24:29 -07:00
NOTES.md vk: studio: track studio model state by entity 2023-08-28 09:11:48 -07:00
TODO.md move ref_vk to ref/vk 2023-02-16 10:30:31 -08:00
alolcator.c vk: track block/geom/brush lifetimes 2023-05-26 10:45:44 -07: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
profiler.c move ref_vk to ref/vk 2023-02-16 10:30:31 -08:00
profiler.h vk: profiler: collect and display ref cpu busy and waiting times 2023-03-21 11:59:57 -07: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: add "persistent" speeds metrics for used memory, etc 2023-06-14 11:23:09 -07:00
r_speeds.h vk: add "persistent" speeds metrics for used memory, etc 2023-06-14 11:23:09 -07: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: add "persistent" speeds metrics for used memory, etc 2023-06-14 11:23:09 -07:00
vk_brush.h vk: track block/geom/brush lifetimes 2023-05-26 10:45:44 -07: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: profiler: add width, and other improvements 2023-03-29 11:59:22 -07:00
vk_const.h move ref_vk to ref/vk 2023-02-16 10:30:31 -08:00
vk_core.c vk: begin refactoring rendermodel api, instantiate sprites, crash gpu 2023-05-31 09:39:27 -07:00
vk_core.h vk: recreate suboptimal swapchains with correct synchronization 2023-05-18 12:32:00 -07:00
vk_cvar.c vk: profiler: control profiler with r_speeds command 2023-03-21 11:59:57 -07:00
vk_cvar.h vk: profiler: control profiler with r_speeds command 2023-03-21 11:59:57 -07:00
vk_descriptor.c vk: respect TF_NEAREST/CLAMP/BORDER flags (#471) 2023-03-08 14:16:21 -08:00
vk_descriptor.h move ref_vk to ref/vk 2023-02-16 10:30:31 -08: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: fix windows compilation 2023-04-10 10:24:57 -07: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 move ref_vk to ref/vk 2023-02-16 10:30:31 -08:00
vk_image.h move ref_vk to ref/vk 2023-02-16 10:30:31 -08:00
vk_light.c vk: add "persistent" speeds metrics for used memory, etc 2023-06-14 11:23:09 -07: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 move ref_vk to ref/vk 2023-02-16 10:30:31 -08:00
vk_lightmap.h move ref_vk to ref/vk 2023-02-16 10:30:31 -08:00
vk_mapents.c ref: vk: use safe string functions, as unsafe versions were removed from libpublic 2023-04-28 17:43:50 +03:00
vk_mapents.h vk: patch func_wall ents by their index, not model name 2023-04-19 20:25:00 -07:00
vk_materials.c add a bunch of wip changes wrt studio model cache 2023-08-28 09:11:48 -07:00
vk_materials.h vk: add normal_scale to materials 2023-04-12 11:57:07 -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 [draft] vk: start refactoring commandbuffer/gpu profiler 2023-04-10 10:24:57 -07: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 move ref_vk to ref/vk 2023-02-16 10:30:31 -08:00
vk_overlay.h move ref_vk to ref/vk 2023-02-16 10:30:31 -08: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_previous_frame.c rt: improve prev frame bone matrix tracking for studio models 2023-05-15 09:47:03 -07:00
vk_previous_frame.h rt: improve prev frame bone matrix tracking for studio models 2023-05-15 09:47:03 -07:00
vk_ray_accel.c vk: add "persistent" speeds metrics for used memory, etc 2023-06-14 11:23:09 -07:00
vk_ray_accel.h rt: massage vk_ray_model a bit 2023-05-22 10:39:48 -07:00
vk_ray_internal.h rt: fix dynamic models colors 2023-06-07 10:43:54 -07:00
vk_ray_model.c rt: update blas for brush water 2023-06-09 10:03:00 -07:00
vk_render.c vk: add "persistent" speeds metrics for used memory, etc 2023-06-14 11:23:09 -07:00
vk_render.h vk: update animated studio models geometry 2023-06-09 11:28:30 -07: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 add a bunch of wip changes wrt studio model cache 2023-08-28 09:11:48 -07: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 rt: implement fast dynamic models 2023-06-07 10:24:29 -07:00
vk_rtx.h rt: update blas for brush water 2023-06-09 10:03:00 -07:00
vk_scene.c vk: studio: track studio model state by entity 2023-08-28 09:11:48 -07:00
vk_scene.h vk: track block/geom/brush lifetimes 2023-05-26 10:45:44 -07:00
vk_sprite.c vk: add "persistent" speeds metrics for used memory, etc 2023-06-14 11:23:09 -07:00
vk_sprite.h rt: recreate sprite model on every map 2023-05-31 10:15:27 -07: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: studio: implement proper per-submodel rendermodel cache 2023-08-28 09:11:48 -07:00
vk_studio.h vk: studio: track studio model state by entity 2023-08-28 09:11:48 -07:00
vk_studio_model.c vk: studio: implement proper per-submodel rendermodel cache 2023-08-28 09:11:48 -07:00
vk_studio_model.h vk: studio: implement proper per-submodel rendermodel cache 2023-08-28 09:11:48 -07:00
vk_swapchain.c vk: recreate suboptimal swapchains with correct synchronization 2023-05-18 12:32:00 -07:00
vk_swapchain.h move ref_vk to ref/vk 2023-02-16 10:30:31 -08:00
vk_textures.c vk: add a couple of TODO comments 2023-05-18 12:00:58 -07:00
vk_textures.h rt: remove a bunch of extra material flags 2023-04-21 23:34:27 -07:00
vk_triapi.c vk: remove public render dynamic model api 2023-06-06 09:50:24 -07: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