Add a Video memory use row: Low, Balanced or High.

Balanced, the default, is what the earlier commits made the default. High keeps what DLSS, frame generation's
HUD-less picture, FSR 1 and SMAA made after they are switched off, as before them. Low also sets, for the keys the
player leaves unset: released textures keep at most 1 GiB (tex_released_mb), textures give way from 70% of the video
memory budget (tex_vram_pressure) and the shared pipeline list is built at first draw (pipe_seed_boot = 0). Unsampled
live textures are not dropped in any of them: that eviction left the ground see-through for good. The values come
after the device profile and the low-end mode (cfg.c VRAMLOW); the row is in the Screen tab under Texture detail and
takes effect after a restart. The architecture notes describe the new memory report lines.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
chrg6
2026-11-12 23:20:35 -05:00
parent a4310491de
commit ef6efba7db
10 changed files with 92 additions and 6 deletions

View File

@@ -51,7 +51,7 @@ static struct {
#define IDLE_FREE 600
static void free_images(VkCtx *c);
static void idle_note(unsigned slot) {
if (!F.img[0]) return;
if (!F.img[0] || cfg_vram_keep()) return; // vram_use = high keeps them
F.since |= 1u << (slot % SLOTS);
if (++F.idle < IDLE_FREE || (F.since & F.used_slots) != F.used_slots) return;
rt_log("vk: FSR's images unused for %u presents: freed (%ux%u)", F.idle, F.w, F.h);