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

Open
github-bot wants to merge 1 commit from github-bot/gh-1821 into main AGit
Owner

@⁠VlREX on GitHub · 2026-11-24 23:01 UTC · original
VlREX:feat/diagnostics-regression-report → main · +845 −27 · 31 files · 1 commits · open

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

**@⁠VlREX** on GitHub · 2026-11-24 23:01 UTC · [original](https://github.com/Marvisak/VIctory/pull/1821) `VlREX:feat/diagnostics-regression-report` → `main` · +845 −27 · 31 files · 1 commits · open 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
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 04:45:39 +00:00
Author
Owner

@⁠DesertGamer on GitHub · 2026-11-24 23:06 UTC · original

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.

**@⁠DesertGamer** on GitHub · 2026-11-24 23:06 UTC · [original](https://github.com/Marvisak/VIctory/pull/1821#issuecomment-7147031345) ### 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.*
Author
Owner

@⁠Marvisak on GitHub · 2026-11-25 01:36 UTC · original · edited 2026-11-25 20:19 UTC

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

**@⁠Marvisak** on GitHub · 2026-11-25 01:36 UTC · [original](https://github.com/Marvisak/VIctory/pull/1821#issuecomment-7149751906) · edited 2026-11-25 20:19 UTC <!-- 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 can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/1821/head:github-bot/gh-1821'
git switch 'github-bot/gh-1821'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-1821'
git switch 'github-bot/gh-1821'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-1821'
git switch 'github-bot/gh-1821'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-1821'
git switch 'main'
git merge --squash 'github-bot/gh-1821'
git switch 'main'
git merge --ff-only 'github-bot/gh-1821'
git switch 'main'
git merge 'github-bot/gh-1821'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No reviewers
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.

Dependencies

No dependencies set

Reference
github/Marvisak--VIctory!1821
No description provided.