CLI: add offline shader and GPU regression comparison report with syn… #1819

Open
VlREX wants to merge 1 commit from upstream-pr/1821 into main
VlREX commented 2026-11-24 23:01:41 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by VlREX on 2026-11-24T23:01:41Z.


Add an offline shader and GPU regression comparison command. 30 files, 781 added lines, 17 Rust tests and 10 synthetic fixtures. Includes per-stage shader coverage comparisons, six GPU metrics, median/p95/max statistics and configurable regression detection. Independent synthetic fixture checks completed. Rust compilation and CI pending. No new dependencies or proprietary game data. AI-assisted

<!-- greyfinch-sync:Marvisak/VIctory:issue:6593150935 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/1821). Originally posted by [VlREX](https://github.com/VlREX) on 2026-11-24T23:01:41Z. --- Add an offline shader and GPU regression comparison command. 30 files, 781 added lines, 17 Rust tests and 10 synthetic fixtures. Includes per-stage shader coverage comparisons, six GPU metrics, median/p95/max statistics and configurable regression detection. Independent synthetic fixture checks completed. Rust compilation and CI pending. No new dependencies or proprietary game data. AI-assisted
catminou4 commented 2026-11-24 23:05:40 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by catminou4 on 2026-11-24T23:03:40Z.

Review: COMMENTED


Static review only: apps/Windows-only (CLI/run paths) — nothing compiles on macOS; source review of the diff.

Offline shader and GPU regression comparison report: 42K CLI/docs — tooling for comparing translation outputs across runs. Large; docs included, static-only here.

<!-- greyfinch-sync:Marvisak/VIctory:review:6048803929 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/1821#pullrequestreview-6048803929). Originally posted by [catminou4](https://github.com/catminou4) on 2026-11-24T23:03:40Z. **Review:** COMMENTED --- Static review only: apps/Windows-only (CLI/run paths) — nothing compiles on macOS; source review of the diff. Offline shader and GPU regression comparison report: 42K CLI/docs — tooling for comparing translation outputs across runs. Large; docs included, static-only here.
DesertGamer commented 2026-11-25 00:06:41 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by DesertGamer on 2026-11-24T23:06:59Z.


VIctory V2: community PRs, merged and tested

Open PRs sitting in the queue? V2 pulls them into one build, screens each one (binaries, build scripts, hooks, new deps) and runs tests after every batch.

Where it stands today: launches, runs the menu at 30 fps, plays the intro video, reaches the start screen and loads the world (~50 s). Entering the world is the current blocker: rendering fails with a GPU "device removed" error (tracked in issue #1).

⚠️ Entering the world on a real GPU can hang it and make Windows reset the driver. Try it at your own risk.

Not playable yet, but every batch of merged fixes moves it closer. If you have a PR that's stuck, or a GPU to test on, I'd love your help:
https://DesertGamer/VIctory-V2

Unofficial community fork of Marvisak/VIctory, GPL-3.0.

<!-- greyfinch-sync:Marvisak/VIctory:comment:7147031345 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/1821#issuecomment-7147031345). Originally posted by [DesertGamer](https://github.com/DesertGamer) on 2026-11-24T23:06:59Z. --- ### VIctory V2: community PRs, merged and tested Open PRs sitting in the queue? V2 pulls them into one build, screens each one (binaries, build scripts, hooks, new deps) and runs tests after every batch. **Where it stands today:** launches, runs the menu at 30 fps, plays the intro video, reaches the start screen and loads the world (~50 s). Entering the world is the current blocker: rendering fails with a GPU "device removed" error (tracked in issue #1). :warning: Entering the world on a real GPU can hang it and make Windows reset the driver. Try it at your own risk. Not playable yet, but every batch of merged fixes moves it closer. If you have a PR that's stuck, or a GPU to test on, I'd love your help: https://DesertGamer/VIctory-V2 *Unofficial community fork of Marvisak/VIctory, GPL-3.0.*
Marvisak commented 2026-11-25 02:06:15 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by Marvisak on 2026-11-25T01:36:52Z.


Automated triage for the maintainers.

Needs work: needs the maintainer's decision.

Since the last review (5269742 → 518faa7): the review points have been addressed.

  • input::decode now uses as_chunks::<2>(), and CI (check) passes.
  • docs/diagnostics-report.md and the README link are gone. Usage now lives in the Report subcommand's help text.
  • The format-drift concern is handled.
    • translate.rs prints its DXIL rows through a new dxil_summary, and translator_summary_round_trips_through_report_parser parses that function's output.
    • copystat::log now formats through a pure summary, checked against crates/victory-gpu/tests/copystat-summary.txt. The report parser reads the same fixture in gpu_summary_contract_matches_report_parser.
    • A change to either log line now breaks a test instead of the report silently going wrong.
  • I checked that the summary refactor in copystat.rs prints the same line as before, with the same arguments in the same order.

What is left:

  • Scope. A victory report subcommand plus ~550 lines under apps/victory/src/diagnostics/ is a new tool to maintain. Whether VIctory wants it is the maintainer's call.
  • Formatting (minor). Some new files are not rustfmt-clean, and CI does not check that. diagnostics/mod.rs has a stray leading space on its second //! line and an over-long ensure! line, and render.rs packs several arguments per line. Running cargo fmt would fix these.

If the maintainer wants the feature, this is ready after cargo fmt.

CI: passing.


Generated by Claude Code

<!-- greyfinch-sync:Marvisak/VIctory:comment:7149751906 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/1821#issuecomment-7149751906). Originally posted by [Marvisak](https://github.com/Marvisak) on 2026-11-25T01:36:52Z. --- <!-- victory-triage v1 head=518faa73946a31102c2980fc67af6b8ffb3747ba verdict=needs-work at=2026-11-25T20:18:54Z --> Automated triage for the maintainers. **Needs work: needs the maintainer's decision.** **Since the last review (`5269742` → `518faa7`):** the review points have been addressed. - `input::decode` now uses `as_chunks::<2>()`, and CI (`check`) passes. - `docs/diagnostics-report.md` and the README link are gone. Usage now lives in the `Report` subcommand's help text. - The format-drift concern is handled. - `translate.rs` prints its DXIL rows through a new `dxil_summary`, and `translator_summary_round_trips_through_report_parser` parses that function's output. - `copystat::log` now formats through a pure `summary`, checked against `crates/victory-gpu/tests/copystat-summary.txt`. The report parser reads the same fixture in `gpu_summary_contract_matches_report_parser`. - A change to either log line now breaks a test instead of the report silently going wrong. - I checked that the `summary` refactor in `copystat.rs` prints the same line as before, with the same arguments in the same order. What is left: - **Scope.** A `victory report` subcommand plus ~550 lines under `apps/victory/src/diagnostics/` is a new tool to maintain. Whether VIctory wants it is the maintainer's call. - **Formatting (minor).** Some new files are not rustfmt-clean, and CI does not check that. `diagnostics/mod.rs` has a stray leading space on its second `//!` line and an over-long `ensure!` line, and `render.rs` packs several arguments per line. Running `cargo fmt` would fix these. If the maintainer wants the feature, this is ready after `cargo fmt`. CI: passing. --- _Generated by [Claude Code](https://claude.ai/code)_
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/1821:upstream-pr/1821'
git switch 'upstream-pr/1821'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'main'
git merge --no-ff 'upstream-pr/1821'
git switch 'upstream-pr/1821'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/1821'
git switch 'upstream-pr/1821'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/1821'
git switch 'main'
git merge --squash 'upstream-pr/1821'
git switch 'main'
git merge --ff-only 'upstream-pr/1821'
git switch 'main'
git merge 'upstream-pr/1821'
git push origin 'main'
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
Marvisak/VIctory!1819
No description provided.