CLI: list shaders that complete emission #1592

Manually merged
github merged 1 commit from gh-pr/1592/head into gh-pr/1592/base 2026-11-26 04:37:31 +00:00
Owner

@⁠AwsAli05 on GitHub · 2026-11-24 19:34 UTC · original
AwsAli05:cli/list-emitted-shaders → main · +3 −0 · 1 files · 1 commits · merged 2026-11-25 00:14 UTC

When comparing translation coverage for #293, a plain translate --list scan identified individual failures but only counted successful programs in the aggregate. A shader that started emitting after a change disappeared from its per-program listing.

Print the program label and emitted when emission is the last requested step. This also works on machines without a DXIL validator or D3D12 adapter. The validation and pipeline options already report their own outcomes.

Tested on Windows against a local subset of 294 shader programs, based on ffe310e. All five invocations reported the same 58 emitted programs in the aggregate.

Options after translate Per-program success rows
No options 0
--list 58 emitted
--list --validate 58 validated
--list --pipelines 58 pipelines created
--list --validate --pipelines 58 validated and 58 pipelines created

Pipeline checks used WARP. cargo test --locked -p victory and the staged asset-policy check passed.

**@⁠AwsAli05** on GitHub · 2026-11-24 19:34 UTC · [original](https://github.com/Marvisak/VIctory/pull/1592) `AwsAli05:cli/list-emitted-shaders` → `main` · +3 −0 · 1 files · 1 commits · merged 2026-11-25 00:14 UTC When comparing translation coverage for #293, a plain `translate --list` scan identified individual failures but only counted successful programs in the aggregate. A shader that started emitting after a change disappeared from its per-program listing. Print the program label and `emitted` when emission is the last requested step. This also works on machines without a DXIL validator or D3D12 adapter. The validation and pipeline options already report their own outcomes. Tested on Windows against a local subset of 294 shader programs, based on `ffe310e`. All five invocations reported the same 58 emitted programs in the aggregate. | Options after translate | Per-program success rows | | --- | --- | | No options | 0 | | --list | 58 emitted | | --list --validate | 58 validated | | --list --pipelines | 58 pipelines created | | --list --validate --pipelines | 58 validated and 58 pipelines created | Pipeline checks used WARP. `cargo test --locked -p victory` and the staged asset-policy check passed.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 04:37:27 +00:00
github manually merged commit 6d174aeeeb into gh-pr/1592/base 2026-11-26 04:37:31 +00:00
Author
Owner

@⁠acetonahard-code on GitHub · 2026-11-24 22:23 UTC · original

Tested on Windows 11 with the repo toolchain, merged into current main (70564ae):

cargo test -p victory passed failed ignored
main 1 0 0
main + this PR 1 0 0
  • cargo clippy --all-targets -- -D warnings, with and without --all-features: clean.

I didn't test with game data.


Tested locally with an AI-assisted script (Claude Code); I checked the results before posting.

**@⁠acetonahard-code** on GitHub · 2026-11-24 22:23 UTC · [original](https://github.com/Marvisak/VIctory/pull/1592#issuecomment-7146164285) Tested on Windows 11 with the repo toolchain, merged into current `main` (70564ae): | `cargo test -p victory` | passed | failed | ignored | |---|---|---|---| | `main` | 1 | 0 | 0 | | `main` + this PR | 1 | 0 | 0 | - `cargo clippy --all-targets -- -D warnings`, with and without `--all-features`: clean. I didn't test with game data. --- <sub>Tested locally with an AI-assisted script (Claude Code); I checked the results before posting.</sub>
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!1592
No description provided.