Leave GPU-written pages of mirrored pools out of the next upload (NX2NAVI_WB_NO_REUP=1)

vk_gpu_written's stamps, which the texture cache needs, made mirror_sync copy the same pages back up into the mirror
the write-back had read them from: outdoors about 57 of the 60 MiB copied up a frame, about 5 ms of GPU time.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HtayeqEG2x5woYzWuEQBGV
This commit is contained in:
Claude
2026-11-08 18:46:35 -05:00
committed by chrg6
parent ea1ad37183
commit 6c971b790e
3 changed files with 84 additions and 4 deletions

View File

@@ -499,3 +499,7 @@
# memory and only the words that changed written over PCIe. Larger ones are copied back whole at the end of every
# submission. Raising it from 4 to 16 took a 5.5 MiB range off the plain copies (about 46 MiB a frame in the field).
# wb_merge_max = 16
# 1: pages of a VRAM-mirrored pool that the GPU wrote and copied back to game memory are not copied up to the mirror
# again for that write, which already holds them (a write by the game still is). Outdoors this removed about 57 MiB of
# copies a frame. Default: 0.
# wb_no_reup = 0