What goes up to card copies: a check, and fetches caught in between put right

VICTORY_FETCH_CHECK=1 (off by default): with VICTORY_RELAY_COPY a piece is
fetched beside later submissions, and one of those that clears it and fills
it again with the same is not flagged by its compare: title memory and the
CPU's side kept what was in between, and the next refresh of the 64 KiB
sent it up over the right bytes. The compare now gives the piece's hash
with its flag; a fetch that is not that is made again by the next flight
that may write the piece. (The test shows 11-12 of 12 wrong without it.)

VICTORY_UPCOPY_CHECK=1 (diagnostics): at each send up, the words that the
title did not change and the card holds another value of; every few seconds
at rest, the words in which a copy's card side is not its CPU side, and
whether they were declared as written and fetched.

victory replay --upcopies: the same question of a captured frame, and which
pieces were written undeclared (replay1 and replay2: compute
82a2ad6d07417d36 through views picked by index, 73-75 pieces a frame).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
localandClaude Opus 5.5 committed 2026-11-24 22:17:50 -06:00
1 parent 65b4c43ec1
commit 017fb0b383
10 files changed
+1688 -54

No files matched your search

+1
View File
@@ -93,6 +93,7 @@ report counts them). `--no-merge` runs the copies as recorded.
| `--watch <id>:<offset>:<bytes>` | which lists (with `--lists`: commands) change those words |
| `--slots <list>:<command>` | the heap slots its constants name |
| `--check-written` | that everything the frame changes is put back |
| `--upcopies` | runs the frame twice: which words the copies of the CPU's sides of card buffers bring that the card holds another value of (those the card wrote alike in both runs are the ones to look at), and which pieces shaders wrote that were not declared as written. The live check is `VICTORY_UPCOPY_CHECK=1` (`host/upcheck.rs`) |
| `--dump <text>` | the DXIL of the pipelines named, in `shaders` |
The `--diverge` family runs the recorded copies without the merge.