Files
VIctory/apps/victory
T
MarvisandClaude Opus 5.5 cd94d35388 GPU: shaders mark the pages they write through views; copy-backs compare only those
The world snapshotted every buffer range declared as written before each
submission and compared it after (2.8-4.5 GB a frame, 98 % unchanged,
0.45-0.7 s of a 1.5-1.7 s intro-cutscene frame), almost all the title's
174 MB GPU-heap buffer.

Translations made with `emit::Options::view_marks` (the shader cache's)
set a bit per 64 KiB title page in a bitmap for every store or atomic
through an unordered buffer view (tables, the heap, root UAVs), looked
up through a per-slot view-mark table each host view heap keeps. Each
tracked host copy owns a run of bits; after a submission only the marked
pages are compared and written back. A page the title writes while
shaders may write it keeps its bytes from before (saved by the guard on
the first write), so both writers' bytes survive. Untracked copies and
the host's own writes keep the snapshot path.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
cd94d35388 · 2026-11-25 02:36:53 +01:00
History
..