1
0
Fork 0
godot/drivers/vulkan
Stuart Carnie 230adb7511 Add Persistent Buffers
This work is a heavily refactored and rewritten from TheForge's initial
code.

TheForge's original code had too many race conditions and was
fundamentally flawed as it was too easy to incur into those data races
by accident.

However they identified the proper places that needed changes, and the
idea was sound. I used their work as a blueprint to design this work.

This PR implements:

 - Introduction of UMA buffers used by a few buffers
(most notably the ones filled by _fill_instance_data).

Ironically this change seems to positively affect PC more than it does
on Mobile.

Updates D3D12 Memory Allocator to get GPU_UPLOAD heap support.

Metal implementation by Stuart Carnie.

Co-authored-by: Stuart Carnie <stuart.carnie@gmail.com>
Co-authored-by: TheForge team
2025-10-24 08:16:19 +11:00
..
SCsub Revert "SCons: Add `CPPEXTPATH` for external includes" 2025-10-06 13:09:22 -05:00
godot_vulkan.h Core: Modernize C headers with C++ equivalents 2025-05-02 08:23:01 -05:00
rendering_context_driver_vulkan.cpp Rename version defines to GODOT_VERSION_* to match GDExtension godot-cpp 2025-03-12 11:11:38 -07:00
rendering_context_driver_vulkan.h Style: Replace header guards with `#pragma once` 2025-03-07 17:33:47 -06:00
rendering_device_driver_vulkan.cpp Add Persistent Buffers 2025-10-24 08:16:19 +11:00
rendering_device_driver_vulkan.h Add Persistent Buffers 2025-10-24 08:16:19 +11:00
rendering_shader_container_vulkan.cpp Renderer: Move reflect_spirv to RenderingShaderContainer 2025-09-30 06:40:14 +10:00
rendering_shader_container_vulkan.h Renderer: Move reflect_spirv to RenderingShaderContainer 2025-09-30 06:40:14 +10:00
vulkan_hooks.cpp Finish splitting functionality of the Vulkan and D3D12 backends into RenderingDeviceDriver. 2024-02-12 10:02:18 -03:00
vulkan_hooks.h Style: Replace header guards with `#pragma once` 2025-03-07 17:33:47 -06:00