CLI: list shaders that complete emission #1591

Merged
AwsAli05 merged 1 commit from upstream-pr/1592 into main 2026-11-25 00:14:44 +00:00
AwsAli05 commented 2026-11-24 19:34:02 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by AwsAli05 on 2026-11-24T19:34:02Z.


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.

<!-- greyfinch-sync:Marvisak/VIctory:issue:6589804629 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/1592). Originally posted by [AwsAli05](https://github.com/AwsAli05) on 2026-11-24T19:34:02Z. --- 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.
acetonahard-code commented 2026-11-24 23:05:53 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by acetonahard-code on 2026-11-24T22:23:10Z.


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.

<!-- greyfinch-sync:Marvisak/VIctory:comment:7146164285 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/1592#issuecomment-7146164285). Originally posted by [acetonahard-code](https://github.com/acetonahard-code) on 2026-11-24T22:23:10Z. --- 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>
upstream-sync closed this pull request 2026-11-25 01:06:55 +00:00
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!1591
No description provided.