chrg6
dc9f164afc
Evict textures no shader sampled for 30 seconds while video memory or the system's commit runs low.
...
The texture pool refresh looks up every registered slot, so the textures of every area the game keeps loaded never
counted as idle and their memory only grew. Marked shaders now store into a buffer with one word per pool slot. Every
four submissions that recorded work, the replay copies it out and clears it, and the texture side notes when each
texture was last sampled. Under VRAM pressure or low commit, once idle textures are gone, live textures that come back
intact and were not sampled for 1800 presents go too. Their keys are held, so the pool refresh keeps the stand-in until
a shader samples that slot again, and the next refresh makes the texture again.
Fragment shaders that neither discard nor write depth, sample mask, stencil reference or memory keep early depth tests
(EarlyFragmentTests), so the marks do not take away early depth rejection. Alpha to coverage leaves the dynamic state
while marks are on, so each pipeline knows whether early tests are safe. Disuse eviction waits until every module that
indexes the pool was marked and two reads arrived. NX2NAVI_TEX_DISUSE=0 (tex_disuse = 0) turns it off.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
(cherry picked from commit 1a4c896150a748f9275c3024e96af3055db94af4)
2026-11-09 14:39:07 -05:00
..
2026-11-09 12:18:17 -05:00
2026-11-09 11:22:37 -05:00
2026-11-09 06:06:33 -05:00
2026-11-07 13:31:06 -05:00
2026-11-09 13:10:47 -05:00
2026-11-07 05:04:38 -05:00
2026-11-07 05:04:38 -05:00
2026-11-09 03:34:46 -05:00
2026-11-09 08:09:26 -05:00
2026-11-09 08:19:19 -05:00
2026-11-09 08:19:19 -05:00
2026-11-07 05:04:40 -05:00
2026-11-07 05:04:40 -05:00
2026-11-09 08:17:35 -05:00
2026-11-07 05:04:40 -05:00
2026-11-07 05:04:40 -05:00
2026-11-09 08:09:26 -05:00
2026-11-09 08:09:26 -05:00
2026-11-09 03:34:46 -05:00
2026-11-09 13:15:47 -05:00
2026-11-09 08:09:25 -05:00
2026-11-09 12:18:17 -05:00
2026-11-09 14:39:07 -05:00
2026-11-09 08:09:26 -05:00
2026-11-09 08:09:25 -05:00
2026-11-07 05:04:38 -05:00
2026-11-09 06:06:33 -05:00
2026-11-07 05:04:38 -05:00
2026-11-07 05:04:40 -05:00
2026-11-08 01:25:12 -05:00
2026-11-09 09:10:36 -05:00
2026-11-09 08:20:01 -05:00
2026-11-07 05:04:38 -05:00
2026-11-07 05:04:38 -05:00
2026-11-08 04:10:35 -05:00
2026-11-07 05:04:38 -05:00
2026-11-09 03:34:46 -05:00
2026-11-07 05:04:39 -05:00
2026-11-07 05:04:38 -05:00
2026-11-07 05:04:39 -05:00
2026-11-07 05:04:40 -05:00
2026-11-07 05:04:38 -05:00
2026-11-07 05:04:38 -05:00
2026-11-07 05:04:38 -05:00
2026-11-09 13:15:37 -05:00
2026-11-09 13:15:47 -05:00
2026-11-09 13:15:47 -05:00
2026-11-07 05:04:38 -05:00
2026-11-07 05:04:38 -05:00
2026-11-07 05:04:38 -05:00
2026-11-07 05:04:40 -05:00
2026-11-09 08:09:26 -05:00
2026-11-08 00:34:29 -05:00
2026-11-09 08:09:26 -05:00
2026-11-09 14:34:45 -05:00
2026-11-07 05:04:38 -05:00
2026-11-09 08:18:08 -05:00
2026-11-09 08:18:19 -05:00
2026-11-07 05:04:38 -05:00
2026-11-09 14:34:45 -05:00
2026-11-07 16:02:30 -05:00
2026-11-09 06:06:33 -05:00
2026-11-07 05:04:38 -05:00
2026-11-09 06:06:33 -05:00
2026-11-09 06:06:33 -05:00
2026-11-09 12:18:17 -05:00
2026-11-07 05:04:40 -05:00
2026-11-09 08:21:07 -05:00
2026-11-09 08:21:07 -05:00
2026-11-09 08:21:07 -05:00
2026-11-09 03:34:46 -05:00
2026-11-09 03:34:46 -05:00
2026-11-09 03:34:46 -05:00
2026-11-07 05:04:38 -05:00
2026-11-09 03:34:46 -05:00
2026-11-07 05:04:38 -05:00
2026-11-07 05:04:38 -05:00
2026-11-09 08:21:07 -05:00
2026-11-09 03:34:46 -05:00
2026-11-09 02:40:51 -05:00
2026-11-07 05:04:40 -05:00
2026-11-07 05:04:40 -05:00
2026-11-09 03:34:46 -05:00
2026-11-07 05:04:40 -05:00
2026-11-07 05:04:40 -05:00
2026-11-09 11:17:08 -05:00
2026-11-09 08:09:26 -05:00
2026-11-07 09:26:51 -05:00
2026-11-07 09:26:51 -05:00
2026-11-07 05:04:40 -05:00
2026-11-08 15:51:48 -05:00
2026-11-07 05:04:40 -05:00
2026-11-08 15:51:48 -05:00
2026-11-09 08:09:25 -05:00
2026-11-08 15:51:48 -05:00
2026-11-07 05:04:40 -05:00
2026-11-09 12:18:17 -05:00
2026-11-07 05:04:38 -05:00
2026-11-07 05:04:40 -05:00
2026-11-07 18:03:20 -05:00
2026-11-07 05:04:38 -05:00
2026-11-07 05:04:38 -05:00
2026-11-09 08:09:26 -05:00
2026-11-08 15:51:47 -05:00
2026-11-08 15:51:48 -05:00
2026-11-08 15:51:47 -05:00
2026-11-08 15:51:47 -05:00
2026-11-07 05:04:40 -05:00
2026-11-08 15:51:47 -05:00
2026-11-07 05:04:40 -05:00
2026-11-08 15:51:47 -05:00
2026-11-07 05:04:39 -05:00
2026-11-07 05:04:39 -05:00
2026-11-07 05:04:40 -05:00
2026-11-07 05:04:40 -05:00
2026-11-07 05:04:40 -05:00
2026-11-07 05:04:38 -05:00
2026-11-09 08:54:25 -05:00
2026-11-08 15:51:48 -05:00
2026-11-07 05:04:38 -05:00
2026-11-09 08:19:55 -05:00
2026-11-07 13:31:07 -05:00
2026-11-07 05:04:40 -05:00
2026-11-07 05:04:40 -05:00
2026-11-09 08:16:38 -05:00
2026-11-07 05:04:40 -05:00
2026-11-09 08:09:26 -05:00
2026-11-09 02:40:51 -05:00
2026-11-07 05:04:38 -05:00
2026-11-09 02:40:51 -05:00
2026-11-07 05:04:40 -05:00
2026-11-09 14:34:45 -05:00
2026-11-08 15:51:48 -05:00
2026-11-07 05:04:40 -05:00
2026-11-09 08:20:32 -05:00
2026-11-09 08:20:01 -05:00
2026-11-07 05:04:38 -05:00
2026-11-09 08:09:25 -05:00
2026-11-07 05:04:38 -05:00
2026-11-07 05:04:38 -05:00
2026-11-07 05:04:40 -05:00
2026-11-09 08:09:26 -05:00
2026-11-09 11:22:38 -05:00
2026-11-07 05:04:38 -05:00
2026-11-07 05:04:38 -05:00
2026-11-07 05:04:40 -05:00
2026-11-07 05:04:40 -05:00
2026-11-08 15:51:48 -05:00
2026-11-07 05:04:38 -05:00
2026-11-07 05:04:38 -05:00
2026-11-07 05:04:40 -05:00
2026-11-07 05:04:38 -05:00
2026-11-07 05:04:39 -05:00
2026-11-07 05:04:38 -05:00
2026-11-07 05:04:38 -05:00
2026-11-07 05:04:40 -05:00
2026-11-07 05:04:40 -05:00
2026-11-07 18:44:56 -05:00
2026-11-07 05:04:40 -05:00
2026-11-09 12:18:17 -05:00
2026-11-09 12:18:17 -05:00
2026-11-07 05:04:38 -05:00
2026-11-09 08:09:26 -05:00
2026-11-09 08:09:25 -05:00
2026-11-07 13:31:06 -05:00
2026-11-09 03:34:46 -05:00
2026-11-09 03:34:46 -05:00
2026-11-09 03:34:46 -05:00
2026-11-09 08:09:26 -05:00
2026-11-09 09:10:36 -05:00
2026-11-09 04:29:01 -05:00
2026-11-09 12:18:17 -05:00
2026-11-09 12:18:17 -05:00
2026-11-09 09:47:33 -05:00
2026-11-09 14:39:07 -05:00
2026-11-09 08:09:26 -05:00
2026-11-09 09:55:25 -05:00
2026-11-09 14:39:07 -05:00
2026-11-09 14:39:07 -05:00
2026-11-09 12:20:05 -05:00
2026-11-07 13:31:06 -05:00
2026-11-09 12:31:28 -05:00
2026-11-09 02:40:51 -05:00
2026-11-07 05:04:40 -05:00
2026-11-09 03:34:46 -05:00
2026-11-09 03:34:46 -05:00
2026-11-09 03:34:46 -05:00
2026-11-09 06:06:33 -05:00
2026-11-09 14:00:12 -05:00
2026-11-09 12:45:26 -05:00
2026-11-07 05:04:38 -05:00
2026-11-07 05:04:38 -05:00
2026-11-07 05:04:38 -05:00
2026-11-07 05:04:38 -05:00
2026-11-09 14:39:07 -05:00
2026-11-09 08:09:26 -05:00
2026-11-09 08:09:26 -05:00
2026-11-09 08:09:26 -05:00
2026-11-09 14:39:07 -05:00
2026-11-09 03:34:46 -05:00
2026-11-09 03:34:46 -05:00
2026-11-07 05:04:38 -05:00
2026-11-09 14:39:07 -05:00
2026-11-07 05:04:38 -05:00
2026-11-09 12:45:14 -05:00