Keep every pipeline when tex_vram_pressure is 0, as the textures read it.

nx2navi.ini.example says tex_vram_pressure = 0 means the textures never give way for video memory, and vk_texture.c
sweep_pressure reads 0 as off, but pressure_release mapped 0 to the default 80 %, so the pipelines no draw had used
were still given back over 80 % of the budget. pressure_release now leaves them for the run at 0 and logs so; values
outside 0..100 still fall back to 80. The pipe_release paragraph of nx2navi.ini.example says that tex_vram_pressure = 0
turns it off too. No cfg.c row changes.

Not reproduced before the change; nothing changes at the default (80). vk_pipeline.c compiles with no new warnings.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
chrg6
2026-11-13 17:20:40 -05:00
parent 6af16f7c34
commit ae90aff58a
2 changed files with 9 additions and 3 deletions

View File

@@ -430,7 +430,7 @@
# While the video memory in use is over tex_vram_pressure percent of the budget, the pipelines the game built ahead
# of play and no draw has used yet are given back, a few hundred every 5 seconds: on a card short of video memory they
# are what costs least to lose, and a draw that needs one later builds it again from the pipeline cache. 0: every
# pipeline stays for the run, as before 0.10. Read at start.
# pipeline stays for the run, as before 0.10; tex_vram_pressure = 0 turns this off too. Read at start.
# pipe_release = 1
# Low-end GPU mode (experimental; also in the settings menu's Game tab). For older graphics cards, and ones short of
# video memory: 1 turns on the settings written for them and measured on a Radeon RX 580, for every key below that