summaryrefslogtreecommitdiff
path: root/src/common/page_table.cpp
diff options
context:
space:
mode:
authorZephyron <zephyron@citron-emu.orgq>2025-02-22 19:08:42 +1000
committerZephyron <zephyron@citron-emu.orgq>2025-02-22 19:08:42 +1000
commitd9619b7eed13adc4bac329bf4b46ee254fe7a5a6 (patch)
tree4c78c4a9f0eea18b4b81fae09f8272da60722fdd /src/common/page_table.cpp
parentdbe5bf1d18e28b4bb1bceb5d9e3270a48a1c35cd (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/common/page_table.cpp')
0 files changed, 0 insertions, 0 deletions