CLI: recommend a DXIL validator in translate --help #1995

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

@⁠AlanQiang0418 on GitHub · 2026-11-25 02:34 UTC · original
AlanQiang0418:codex/document-translate-validator → main · +5 −2 · 1 files · 1 commits · open

Addresses the third request in #1945. The existing help names the override but leaves the reader to choose a DLL. victory translate --help now points to bin\x64\dxil.dll from a Microsoft DXC v1.8.2502 or newer release and explains why an older SDK validator may reject shaders with repeated semantic names. The short help still lists the override and SDK fallback.

The DXC v1.8.2502 release notes document the PSV0 string and semantic-index table ordering fix. #1974 tracks the separate runtime version report and warning.

Verified on Windows by running both victory translate --help and victory translate -h. A translate --validate smoke test loaded the x64 DLL selected by VICTORY_DXIL; the input contained no shaders. cargo clippy --locked --offline -p victory --all-targets -- -D warnings passed.

**@⁠AlanQiang0418** on GitHub · 2026-11-25 02:34 UTC · [original](https://github.com/Marvisak/VIctory/pull/1995) `AlanQiang0418:codex/document-translate-validator` → `main` · +5 −2 · 1 files · 1 commits · open Addresses the third request in #1945. The existing help names the override but leaves the reader to choose a DLL. `victory translate --help` now points to `bin\x64\dxil.dll` from a Microsoft DXC v1.8.2502 or newer release and explains why an older SDK validator may reject shaders with repeated semantic names. The short help still lists the override and SDK fallback. The [DXC v1.8.2502 release notes](https://github.com/microsoft/DirectXShaderCompiler/releases/tag/v1.8.2502) document the PSV0 string and semantic-index table ordering fix. #1974 tracks the separate runtime version report and warning. Verified on Windows by running both `victory translate --help` and `victory translate -h`. A `translate --validate` smoke test loaded the x64 DLL selected by `VICTORY_DXIL`; the input contained no shaders. `cargo clippy --locked --offline -p victory --all-targets -- -D warnings` passed.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 04:50:58 +00:00
Author
Owner

@⁠DesertGamer on GitHub · 2026-11-25 02:40 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-25 02:40 UTC · [original](https://github.com/Marvisak/VIctory/pull/1995#issuecomment-7151038640) ### 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 09:16 UTC · original

Automated triage for the maintainers.

Merge candidate.

Help-text only change in apps/victory/src/main.rs (Command::Translate, --validate): the long help now recommends pointing VICTORY_DXIL at a DXC 1.8.2502+ bin\x64\dxil.dll and says why older SDK validators can reject shaders with repeated semantic names. This matches the lookup in emit/validator.rs::default_path() (newest Windows SDK copy otherwise) and the third request in #1945; no behaviour changes.

#2002 makes the same help change, but states that --validate already prints the DLL version and warns since #1974, which is not in main yet; this PR's wording is accurate for main as it stands. Recommending a look, not approving.

CI: passing (check).


Generated by Claude Code

**@⁠Marvisak** on GitHub · 2026-11-25 09:16 UTC · [original](https://github.com/Marvisak/VIctory/pull/1995#issuecomment-7158103840) <!-- victory-triage v1 head=d83bee07c4a627d9f3f7721571aaf09873d276e4 verdict=merge-candidate at=2026-11-25T09:16:03Z --> Automated triage for the maintainers. **Merge candidate.** Help-text only change in `apps/victory/src/main.rs` (`Command::Translate`, `--validate`): the long help now recommends pointing `VICTORY_DXIL` at a DXC 1.8.2502+ `bin\x64\dxil.dll` and says why older SDK validators can reject shaders with repeated semantic names. This matches the lookup in `emit/validator.rs::default_path()` (newest Windows SDK copy otherwise) and the third request in #1945; no behaviour changes. #2002 makes the same help change, but states that `--validate` already prints the DLL version and warns since #1974, which is not in `main` yet; this PR's wording is accurate for `main` as it stands. Recommending a look, not approving. CI: passing (`check`). --- _Generated by [Claude Code](https://claude.ai/code)_
Author
Owner

@⁠cloph-dsp on GitHub · 2026-11-25 12:13 UTC · original

Independent local validation (Windows, Rust 1.100.0/MSVC, head d83bee0, no game data): cargo test --locked -p victory --bins -> 10 tests passed, exit 0. cargo run --locked -q -p victory -- translate --help on this PR prints the expanded DXC-validator hint ('Check emitted DXIL with the validator from VICTORY_DXIL or the newest Windows SDK. Set VICTORY_DXIL to the full path to bin\x64\dxil.dll from Microsoft DXC v1.8.2502 or newer. Older SDK validators can reject shaders with repeated semantic names.'); main 940d32f prints only the short --validate ... VICTORY_DXIL ... newest Windows SDK's option text, so the new text is confirmed to come from this PR. Help-text change only; no runtime DXIL validation exercised. AI-assisted (Hy4 flash). GPU/driver: N/A (docs/CLI text). No game data, assets or extracted content used.

**@⁠cloph-dsp** on GitHub · 2026-11-25 12:13 UTC · [original](https://github.com/Marvisak/VIctory/pull/1995#issuecomment-7162092087) Independent local validation (Windows, Rust 1.100.0/MSVC, head d83bee0, no game data): `cargo test --locked -p victory --bins` -> 10 tests passed, exit 0. `cargo run --locked -q -p victory -- translate --help` on this PR prints the expanded DXC-validator hint ('Check emitted DXIL with the validator from VICTORY_DXIL or the newest Windows SDK. Set VICTORY_DXIL to the full path to bin\x64\dxil.dll from Microsoft DXC v1.8.2502 or newer. Older SDK validators can reject shaders with repeated semantic names.'); main 940d32f prints only the short `--validate ... VICTORY_DXIL ... newest Windows SDK's` option text, so the new text is confirmed to come from this PR. Help-text change only; no runtime DXIL validation exercised. AI-assisted (Hy4 flash). GPU/driver: N/A (docs/CLI text). No game data, assets or extracted content used.
Author
Owner

@⁠catminou4 on GitHub · 2026-11-25 02:48 UTC · original · reviewed

Static review only: apps/CLI are Windows-only paths — nothing compiles or runs on macOS; source review of the diff.

CLI: recommend a DXIL validator in translate --help — UX hint; overlaps with #1974/#2002 on the same help text.

**@⁠catminou4** on GitHub · 2026-11-25 02:48 UTC · [original](https://github.com/Marvisak/VIctory/pull/1995#pullrequestreview-6051088975) · **reviewed** Static review only: apps/CLI are Windows-only paths — nothing compiles or runs on macOS; source review of the diff. CLI: recommend a DXIL validator in translate --help — UX hint; overlaps with #1974/#2002 on the same help text.
Author
Owner

@⁠fiestorra on GitHub · 2026-11-26 12:39 UTC · original

A wording suggestion for this line, measured in #1974: "older SDK validators" could read "validators before 1.8, including standalone DXC builds". The PSV0 failure this warns about reproduces with DXC 1.7 and 1.6 on their own, not only with the copy the SDK ships, and a reader who installed a standalone DXC earlier than 1.8 gets the wrong verdicts from a path that is not the SDK's.

Nothing else from me: this is the text I would have kept over #2002, which I have closed.

Written with an AI assistant.

**@⁠fiestorra** on GitHub · 2026-11-26 12:39 UTC · [original](https://github.com/Marvisak/VIctory/pull/1995#issuecomment-7192286961) A wording suggestion for this line, measured in #1974: "older SDK validators" could read **"validators before 1.8, including standalone DXC builds"**. The PSV0 failure this warns about reproduces with DXC 1.7 and 1.6 on their own, not only with the copy the SDK ships, and a reader who installed a standalone DXC earlier than 1.8 gets the wrong verdicts from a path that is not the SDK's. Nothing else from me: this is the text I would have kept over #2002, which I have closed. Written with an AI assistant.
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/1995/head:github-bot/gh-1995'
git switch 'github-bot/gh-1995'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-1995'
git switch 'github-bot/gh-1995'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-1995'
git switch 'github-bot/gh-1995'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-1995'
git switch 'main'
git merge --squash 'github-bot/gh-1995'
git switch 'main'
git merge --ff-only 'github-bot/gh-1995'
git switch 'main'
git merge 'github-bot/gh-1995'
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!1995
No description provided.