Shader corpus sweep in the repository, to run on one's own dump #282
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by Sandile-0511 on 2026-11-27T08:43:57Z.
What is missing. A translator change is judged by the tests and by a run of the game. Neither says what the change does to the other shaders the title registers (about 21,600 in my dump): which start to translate, which stop, and which still translate but to other output. The comparison by output I posted on #258 came from a harness that lives outside the repository, so nobody else can run it. The maintainer asked for it in a pull request under
tools/(https://github.com/LakshanSivakumar/Native-Victory-macOS/issues/258#issuecomment-7213183271).What I plan to do, in one pull request with no shader data in it:
victory-shader(cargo run --release -p victory-shader --example sweep -- <folder>), so it is always built with the translator of the tree it sits in. It translates every dumped container of a folder with the native host's options and prints one line per shader: the outcome (ok,refused,panic,timeout,missing), a fingerprint of the output or the refusal reason, and the time. Same fingerprint as the numbers already posted on #258.tools/corpus/compare.sh: tallies one sweep, or compares two (newly translated, regressions, output changed, other reason now), with an optional list of the shaders a world run bound. Bash and awk likerun-summary.sh, with a--self-teston made-up sweeps that CI runs.VICTORY_DUMP_ALL_SHADERS=1 VICTORY_DUMP_REFUSED=<folder>), sweep two builds and compare, and that a corpus and its sweep files never go in the repository or in a post.Not in it: no change to the translator or the host, no new diagnostic, no corpus.
Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by Sandile-0511 on 2026-11-27T08:45:02Z.
/claim
Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by github-actions[bot] on 2026-11-27T08:45:13Z.
Claimed by @Sandile-0511. Open a draft pull request with
Refs #282in its description within 24 hours, or the claim expires.Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by LakshanSivakumar on 2026-11-28T00:36:17Z.
Thank you for this. It is fixed on main by
76f1757f(the corpus sweep tool in tools/). I have not checked every case from this report in the game myself, so please retest on maina6a58361and reopen this if you still see it. Closing as fixed.