mirror of
https://github.com/valentderah/totk-pc-recomp.git
synced 2026-11-21 12:55:57 +00:00
The replay notes each GPU-timeline access of guest memory with its submission's value (in-place bindings of imported pools without a mirror, mirror sync copies, GPU deswizzle sources, mirror write-backs); at the frame wait the notes of the frame the late wait would leave running form its read set, snapped with the write watch and checked again at the next frame-wait entry. Invalidates and small-target write-backs of GPU results from that frame count as stale readbacks. One summary line per second and a run summary with the largest offenders by pool (runtime/vk_ahead.c). --probe-vkmem checks the detector with a synthetic write after the wait; tests/sync_ahead_check.py checks that check mode keeps the wait exact. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>