xash3d-fwgs/ref/vk
Ivan Avdeev 7c6e22bb2c rt: extract basic func_wall patching support from PR #506
That PR has more stuff in it which we decided to drop.

This commit only contains:
- Detection of func_wall models, and adding their lights as static
  (fixes #415).
- Patching func_wall models offsets, #335. Does not yet patch them
  visually, but patches their light sources. Will be addressed in next
  commits. Patching is done via model name, not entity id, also will be
  fixed.
- Does not address culling (#118). This is the part dropped from the PR.
  Needs different approach. TBD
2023-04-19 20:25:00 -07:00
..
data/valve Update rads & patches (#479) 2023-03-18 11:38:11 -07:00
shaders rt: don't cull c/cw triangles to fix shadow leaks (#508) 2023-04-15 09:44:04 -07:00
NOTES.md vk: profiler: cover staging with combuf scopes; add build_as time 2023-04-10 10:24:57 -07:00
TODO.md move ref_vk to ref/vk 2023-02-16 10:30:31 -08:00
alolcator.c move ref_vk to ref/vk 2023-02-16 10:30:31 -08:00
alolcator.h move ref_vk to ref/vk 2023-02-16 10:30:31 -08: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 move ref_vk to ref/vk 2023-02-16 10:30:31 -08:00
camera.h move ref_vk to ref/vk 2023-02-16 10:30:31 -08:00
common_geometry.c move ref_vk to ref/vk 2023-02-16 10:30:31 -08:00
dumbspter.c move ref_vk to ref/vk 2023-02-16 10:30:31 -08:00
infotool.c move ref_vk to ref/vk 2023-02-16 10:30:31 -08: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_speeds.c vk: profiler: add device/driver info 2023-04-10 12:05:35 -07:00
r_speeds.h vk: profiler: cover staging with combuf scopes; add build_as time 2023-04-10 10:24:57 -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: profiler: add beams count metric 2023-03-25 12:03:41 -07:00
vk_beams.h vk: profiler: add beams count metric 2023-03-25 12:03:41 -07:00
vk_brush.c rt: extract basic func_wall patching support from PR #506 2023-04-19 20:25:00 -07:00
vk_brush.h rt: refactor loading surface lights, fix #417 2023-03-02 22:32:08 -08:00
vk_buffer.c move ref_vk to ref/vk 2023-02-16 10:30:31 -08:00
vk_buffer.h move ref_vk to ref/vk 2023-02-16 10:30:31 -08: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: profiler: add device/driver info 2023-04-10 12:05:35 -07:00
vk_core.h vk: profiler: add device/driver info 2023-04-10 12:05:35 -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_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 move ref_vk to ref/vk 2023-02-16 10:30:31 -08:00
vk_geometry.h vk: remove flag attribute in vertex 2023-02-25 18:38:22 -08: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: profiler: add more lights metrics 2023-03-25 12:03:41 -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 rt: extract basic func_wall patching support from PR #506 2023-04-19 20:25:00 -07:00
vk_mapents.h rt: extract basic func_wall patching support from PR #506 2023-04-19 20:25:00 -07:00
vk_materials.c vk: add normal_scale to materials 2023-04-12 11:57:07 -07:00
vk_materials.h vk: add normal_scale to materials 2023-04-12 11:57:07 -07:00
vk_math.c rt: compute tangents for studio models 2023-03-01 10:47:31 -08:00
vk_math.h rt: compute tangents for studio models 2023-03-01 10:47:31 -08: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 vk rt: fix reprojection 2023-02-28 23:06:09 +04:00
vk_previous_frame.h move ref_vk to ref/vk 2023-02-16 10:30:31 -08:00
vk_ray_accel.c vk: profiler: cover staging with combuf scopes; add build_as time 2023-04-10 10:24:57 -07:00
vk_ray_accel.h vk: profiler: cover staging with combuf scopes; add build_as time 2023-04-10 10:24:57 -07:00
vk_ray_internal.h rt: remove freeze_models functionality (#513) 2023-04-15 10:51:34 -07:00
vk_ray_model.c rt: remove freeze_models functionality (#513) 2023-04-15 10:51:34 -07:00
vk_render.c rt: extract basic func_wall patching support from PR #506 2023-04-19 20:25:00 -07:00
vk_render.h [draft] vk: start refactoring commandbuffer/gpu profiler 2023-04-10 10:24:57 -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 vk: profiler: rename slows to speeds (enough kekage) 2023-03-25 12:03:41 -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: remove freeze_models functionality (#513) 2023-04-15 10:51:34 -07:00
vk_rtx.h [draft] vk: start refactoring commandbuffer/gpu profiler 2023-04-10 10:24:57 -07:00
vk_scene.c vk: deduplicate map (re)loading code 2023-04-13 11:03:36 -07:00
vk_scene.h move ref_vk to ref/vk 2023-02-16 10:30:31 -08:00
vk_sprite.c vk: profiler: add sprites count metric 2023-03-25 12:03:41 -07:00
vk_sprite.h vk: profiler: add sprites count metric 2023-03-25 12:03:41 -07:00
vk_staging.c vk: profiler: add gpu scopes for staging uploads 2023-04-10 10:24:57 -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: profiler: add studio models count metric 2023-03-25 12:03:41 -07:00
vk_studio.h vk: fix studio models being modulated by ent color 2023-02-24 23:57:49 -08:00
vk_swapchain.c vk: profiler: fixup incorrect __FUNCTION__ macro usage 2023-03-21 11:59:57 -07:00
vk_swapchain.h move ref_vk to ref/vk 2023-02-16 10:30:31 -08:00
vk_textures.c vk: profiler: cover staging with combuf scopes; add build_as time 2023-04-10 10:24:57 -07:00
vk_textures.h vk: respect TF_NEAREST/CLAMP/BORDER flags (#471) 2023-03-08 14:16:21 -08:00
vk_triapi.c vk: profiler: add width, and other improvements 2023-03-29 11:59:22 -07:00
vk_triapi.h vk: fix tracers colors 2023-02-27 11:00:34 -08:00
wscript move ref_vk to ref/vk 2023-02-16 10:30:31 -08:00