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

@@ -401,11 +401,15 @@
<string-array name="vramUsageModeNames">
<item>Conservative</item>
<item>Aggressive</item>
<item>High-End GPU (4090/4080+)</item>
<item>Insane (RTX 4090 24GB)</item>
</string-array>
<integer-array name="vramUsageModeValues">
<item>0</item>
<item>1</item>
<item>2</item>
<item>3</item>
</integer-array>
<!-- Applet Mode setting arrays -->