feat: add High-End and Insane VRAM modes with leak prevention

- Add HighEnd and Insane VRAM usage modes for RTX 4090/4080+ users
- Implement VRAM limits: HighEnd (12GB), Insane (22GB) with scaling
- Optimize buffer allocation with larger chunks for high-end GPUs
- Add VRAM leak detection and aggressive cleanup for Insane mode
- Increase shader compilation buffer sizes for better performance
- Add VRAM monitoring functions to Vulkan rasterizer
- Implement memory usage tracking for staging buffers

Signed-off-by: Zephyron <zephyron@citron-emu.org>
This commit is contained in:
Zephyron
2025-09-14 16:05:31 +10:00
parent 56d8bd7dd3
commit 6e6b2f438e
14 changed files with 292 additions and 8 deletions

View File

@@ -124,7 +124,7 @@ ENUM(AstcRecompression, Uncompressed, Bc1, Bc3);
ENUM(VSyncMode, Immediate, Mailbox, Fifo, FifoRelaxed);
ENUM(VramUsageMode, Conservative, Aggressive);
ENUM(VramUsageMode, Conservative, Aggressive, HighEnd, Insane);
ENUM(RendererBackend, OpenGL, Vulkan, Null);