1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-03 11:50:27 +00:00
Files
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
..
2025-10-24 08:16:19 +11:00
2025-10-24 08:16:19 +11:00
2025-10-24 08:16:19 +11:00
2025-10-24 08:16:19 +11:00

Upstream: https://github.com/GPUOpen-LibrariesAndSDKs/D3D12MemoryAllocator

commit d26c54a6f40c66611dd33c77df4198784b53a8e2 Author: Adam Sawicki adam.sawicki@amd.com Date: Wed Apr 9 15:07:43 2025 +0200

Minor fixes after #71