Files
NX2navi/runtime/vk_texture.c
chrg6 6994563613 Count the texture thresholds in time, not presents, keep the scene's textures through a pause, and make a sampled stand-in at once.
Textures went dark for about a second all over the game. Under memory pressure a texture goes when it was released
120 presents ago or not sampled for 1,800, numbers set at 60 presents a second: without a limit the game presents
85 to 240, so that was half a second and 7 to 20 s. The thresholds now scale with the presents per second.
A pause screen, a menu or a fade draws next to nothing through the texture pool, and every texture of the scene
behind it counted as unsampled: eviction by disuse now waits until two mark reads in a row show the scene drawn.
A texture whose stand-in a shader sampled is on screen as that stand-in: it is made at the next refresh even when
the frame's creation time is spent, 32 of them a present, instead of waiting for a frame with time over.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-09 22:32:24 -05:00

187 KiB