diff options
| author | Zephyron <zephyron@citron-emu.orgq> | 2025-02-22 19:08:42 +1000 |
|---|---|---|
| committer | MrPurple666 <antoniosacramento666usa@gmail.com> | 2025-04-19 17:19:16 -0300 |
| commit | 728de0406ebf2f6fe8b2236e7b419ecf9f98404f (patch) | |
| tree | 312e73ef99092fd9e3657d71c12aad935cd6693b /src/core/arm/arm_interface.cpp | |
| parent | bf7502e439208ed629742c089d6dac194bc69f4e (diff) | |
vulkan: Improve memory allocation robustness
Enhances the Vulkan memory allocator with better OOM handling and memory
alignment:
* Add memory recovery by cleaning up empty allocations before failing
* Implement proper fallback to non-device-local memory
* Simplify memory alignment handling for different vendors
* Add better error logging for allocation failures
* Add IsEmpty() helper to track unused allocations
* Fix alignment requirements for Adreno (4KB) vs other vendors
These changes improve the robustness of memory allocation, particularly
in low-memory situations, and streamline vendor-specific alignment
requirements.
Diffstat (limited to 'src/core/arm/arm_interface.cpp')
0 files changed, 0 insertions, 0 deletions
