xash3d-fwgs/ref_vk
Ivan Avdeev 973ef4c677 separate buffer space allocation from buffer uploading
Now each geometry is first allocated a slot with VK_RenderBufferAlloc,
and then VK_RenderBufferLock/Unlock are used to upload buffer contents.

This allow for two things:
1. Uploading buffer data to GPU memory on/after Unlock.
2. (Re)building BLAS for RTX on/after Unlock.

These buffers are now directly referenced by render_draw_t, which also
will be helpful in the future for both renderers.
2021-02-22 18:57:46 -08:00
..
shaders rename map to brush 2021-02-06 11:38:08 -08:00
TODO.md separate buffer space allocation from buffer uploading 2021-02-22 18:57:46 -08:00
buildshaders.sh rename map to brush 2021-02-06 11:38:08 -08:00
common_geometry.c massage stubs 2021-01-20 11:16:06 -08:00
vk_2d.c engage scene rendering in VK_RenderFrame and not in EndFrame 2021-02-20 14:54:57 -08:00
vk_2d.h engage scene rendering in VK_RenderFrame and not in EndFrame 2021-02-20 14:54:57 -08:00
vk_beams.c separate buffer space allocation from buffer uploading 2021-02-22 18:57:46 -08:00
vk_beams.h add beams rendering 2021-02-17 13:26:09 -08:00
vk_brush.c separate buffer space allocation from buffer uploading 2021-02-22 18:57:46 -08:00
vk_brush.h remove ubo management from "public" vk_render api 2021-02-20 12:00:31 -08:00
vk_buffer.c move buffer allocation to vk_render.c from vk_bruh.c 2021-02-10 10:33:44 -08:00
vk_buffer.h add loading textures 2021-01-16 15:45:10 -08:00
vk_common.h move buffer allocation to vk_render.c from vk_bruh.c 2021-02-10 10:33:44 -08:00
vk_const.h move buffer allocation to vk_render.c from vk_bruh.c 2021-02-10 10:33:44 -08:00
vk_core.c separate buffer space allocation from buffer uploading 2021-02-22 18:57:46 -08:00
vk_core.h rtx: request RTX device extensions when -rtx argument is present 2021-02-22 09:46:29 -08:00
vk_cvar.c add beams rendering 2021-02-17 13:26:09 -08:00
vk_cvar.h apply proper lightstyles on map load 2021-02-03 10:06:21 -08:00
vk_framectl.c separate buffer space allocation from buffer uploading 2021-02-22 18:57:46 -08:00
vk_framectl.h engage scene rendering in VK_RenderFrame and not in EndFrame 2021-02-20 14:54:57 -08:00
vk_global.h add initial sprite rendering 2021-02-15 12:20:25 -08:00
vk_lightmap.c fix lightmap corruption 2021-02-06 13:51:23 -08:00
vk_lightmap.h apply proper lightstyles on map load 2021-02-03 10:06:21 -08:00
vk_math.c draw static map geometry with debug shader 2021-01-23 19:38:00 -08:00
vk_math.h draw static map geometry with debug shader 2021-01-23 19:38:00 -08:00
vk_pipeline.c add pipeline cache 2021-02-06 11:38:21 -08:00
vk_pipeline.h add pipeline cache 2021-02-06 11:38:21 -08:00
vk_render.c separate buffer space allocation from buffer uploading 2021-02-22 18:57:46 -08:00
vk_render.h separate buffer space allocation from buffer uploading 2021-02-22 18:57:46 -08:00
vk_renderstate.c add 2d pipelines with blending; menu is drawn almost ok 2021-01-18 13:33:22 -08:00
vk_renderstate.h add 2d pipelines with blending; menu is drawn almost ok 2021-01-18 13:33:22 -08:00
vk_rmain.c engage scene rendering in VK_RenderFrame and not in EndFrame 2021-02-20 14:54:57 -08:00
vk_scene.c separate buffer space allocation from buffer uploading 2021-02-22 18:57:46 -08:00
vk_scene.h engage scene rendering in VK_RenderFrame and not in EndFrame 2021-02-20 14:54:57 -08:00
vk_sprite.c separate buffer space allocation from buffer uploading 2021-02-22 18:57:46 -08:00
vk_sprite.h remove ubo management from "public" vk_render api 2021-02-20 12:00:31 -08:00
vk_studio.c separate buffer space allocation from buffer uploading 2021-02-22 18:57:46 -08:00
vk_studio.h remove ubo management from "public" vk_render api 2021-02-20 12:00:31 -08:00
vk_textures.c add VK_EXT_debug_utils labels 2021-01-31 16:50:27 -08:00
vk_textures.h add broken studio models drawing 2021-02-13 17:19:59 -08:00
wscript auto-detect VULKAN_SDK path on windows 2021-02-21 23:28:33 -08:00