mirror of
https://github.com/tangerineturtle1/NX2navi.git
synced 2026-11-18 21:49:57 -04:00
Stop retiring textures no shader sampled for a while, by default: the ground they left flat did not come back.
With the retiring on, a player's session lost the ground of Hyrule Field and Lon Lon Ranch (6,663 retired, 928 back), and with the two holes of the way back closed it lost it again on arriving in a village (1,441 retired, 82 back; neither fix acted once). With the retiring off the same play kept its ground. What keeps the stand-in in place is not found; a draw that samples it once into a picture the game keeps would, and no mark undoes that. tex_disuse_evict = 1 turns the retiring back on; the shaders keep their marks, so no pipeline changes either way. Released textures and idle ones the game no longer names still give way when memory runs short, so a PC that is short of memory has less to give back than before. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
@@ -233,6 +233,9 @@
|
||||
# made again within a few frames. The first start after changing it builds the pipelines again. 0: such textures stay.
|
||||
# 2 (diagnosis): the same marks, and such textures give way to stand-ins in the texture pool, but none is freed.
|
||||
# tex_disuse = 1
|
||||
# Whether such textures really go under pressure. Off by default: after such evictions the ground of some areas was
|
||||
# drawn flat and see-through and stayed so. 1 turns it on (it frees more memory when memory runs short).
|
||||
# tex_disuse_evict = 0
|
||||
# Percent of the video memory in use above which textures give way: first those the game released, then those no
|
||||
# shader sampled for a while (tex_disuse); each is made again when used. The default lies under the 87 percent past
|
||||
# which game memory gets no copy in video memory (memory = mirror), which costs far more frame time than a texture
|
||||
|
||||
Reference in New Issue
Block a user