docs: mention shader-test DXC variables in README #2570

Open
romeawayfromhome-rgb wants to merge 2 commits from upstream-pr/2572 into main
romeawayfromhome-rgb commented 2026-11-25 16:04:21 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by romeawayfromhome-rgb on 2026-11-25T16:04:21Z.


  • Documents the environment variables the differential shader tests need, next to the README's shader-test validator section.
  • Source check: crates/victory-shader/src/emit/diff_tests.rs and flow_tests.rs headers state the tests need VICTORY_CONSOLE_DXC (the console SDK's dxc.exe) and a PC dxc.exe (VICTORY_PC_DXC, else the newest Windows SDK's), are skipped without them, and VICTORY_WARP=1 draws on WARP. The README section only mentioned VICTORY_DXIL.
  • Claim: https://github.com/Marvisak/VIctory/issues/1633#issuecomment-7162037370
  • Not compiled locally: docs-only change; this environment has no Rust/Windows toolchain and the VIctory workspace does not build on Linux, so CI is the check.
  • Prepared with AI assistance (Clifford / Muse Spark); conducted by LegendaryGodKing (romeawayfromhome-rgb).
<!-- greyfinch-sync:Marvisak/VIctory:issue:6608527900 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/2572). Originally posted by [romeawayfromhome-rgb](https://github.com/romeawayfromhome-rgb) on 2026-11-25T16:04:21Z. --- - Documents the environment variables the differential shader tests need, next to the README's shader-test validator section. - Source check: crates/victory-shader/src/emit/diff_tests.rs and flow_tests.rs headers state the tests need VICTORY_CONSOLE_DXC (the console SDK's dxc.exe) and a PC dxc.exe (VICTORY_PC_DXC, else the newest Windows SDK's), are skipped without them, and VICTORY_WARP=1 draws on WARP. The README section only mentioned VICTORY_DXIL. - Claim: https://github.com/Marvisak/VIctory/issues/1633#issuecomment-7162037370 - Not compiled locally: docs-only change; this environment has no Rust/Windows toolchain and the VIctory workspace does not build on Linux, so CI is the check. - Prepared with AI assistance (Clifford / Muse Spark); conducted by LegendaryGodKing (romeawayfromhome-rgb).
Marvisak commented 2026-11-25 20:06:08 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by Marvisak on 2026-11-25T19:18:13Z.


Automated triage for the maintainers.

Re-reviewed at 3bc657b. The wrong statement is fixed: the README paragraph now says the differential tests are skipped when either compiler is missing. That matches tools() in crates/victory-shader/src/emit/diff_tests.rs. VICTORY_CONSOLE_DXC, VICTORY_PC_DXC (which falls back to the newest Windows SDK dxc.exe) and VICTORY_WARP=1 still match main. The paragraph is five lines and sits next to the existing VICTORY_DXIL note.

Optional: the clause naming tools() is an internal detail and could be dropped. The README does not need to name the function.

Verdict: merge candidate (a small docs change; a recommendation to look, not an approval). CI: not run (no checks reported on this head).


Generated by Claude Code

<!-- greyfinch-sync:Marvisak/VIctory:comment:7172110506 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/2572#issuecomment-7172110506). Originally posted by [Marvisak](https://github.com/Marvisak) on 2026-11-25T19:18:13Z. --- <!-- victory-triage v1 head=3bc657b8c0227df8efece7db34ef4cc82949e3ed verdict=merge-candidate at=2026-11-26T03:21:28Z --> Automated triage for the maintainers. Re-reviewed at `3bc657b`. The wrong statement is fixed: the README paragraph now says the differential tests are skipped when *either* compiler is missing. That matches `tools()` in `crates/victory-shader/src/emit/diff_tests.rs`. `VICTORY_CONSOLE_DXC`, `VICTORY_PC_DXC` (which falls back to the newest Windows SDK `dxc.exe`) and `VICTORY_WARP=1` still match `main`. The paragraph is five lines and sits next to the existing `VICTORY_DXIL` note. Optional: the clause naming `tools()` is an internal detail and could be dropped. The README does not need to name the function. **Verdict: merge candidate** (a small docs change; a recommendation to look, not an approval). CI: not run (no checks reported on this head). --- _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/2572:upstream-pr/2572'
git switch 'upstream-pr/2572'

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/2572'
git switch 'upstream-pr/2572'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/2572'
git switch 'upstream-pr/2572'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/2572'
git switch 'main'
git merge --squash 'upstream-pr/2572'
git switch 'main'
git merge --ff-only 'upstream-pr/2572'
git switch 'main'
git merge 'upstream-pr/2572'
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!2570
No description provided.