mirror of
https://github.com/valentderah/totk-pc-recomp.git
synced 2026-11-21 12:55:57 +00:00
Without shadow storage a plain GPU copy back into a mirrored range lands after the game, told the value is done a frame early, may have written other words of that range for the next frame; with TOTK_SYNC_AHEAD_WBMERGE (1 by default) the copies' and updates' write-backs go through the word merge as a shader's do. With memory = import the GPU reads vertex, index and storage data in place, and a check run on the islands saw the game rewrite about 10 KiB of them a frame after the wait, so the switch is refused there unless shadow storage is on. --probe-vkmem checks the pending-write list (newest writer below a bound, pruning, joining when full). The one-off readback rule copied from Savage Wind gets its THIRD_PARTY_NOTICES.md row. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>