CLI: report shader worker initialization failures #1403
No reviewers
Labels
No labels
accessibility
area: build
area: formats
area: gpu
area: loader
area: runtime
area: shader
bug
documentation
duplicate
enhancement
good first issue
gpu: amd
gpu: intel
gpu: nvidia
help wanted
host: wine
invalid
out of scope
question
request
run report
triage: confirmed
triage: has patch
triage: merge candidate
triage: needs info
triage: needs rebase
triage: needs work
triage: proposed close
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Marvisak--VIctory!1403
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-1403"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@Luizbc2 on GitHub · 2026-11-24 17:46 UTC · original
Luizbc2:fix/translate-worker-initialization→main· +40 −25 · 1 files · 1 commits · openSummary
When
victory translate --validateor--pipelinespasses its initial check but a worker fails to initialize its checker, that worker can silently skip the requested check. The command still exits successfully and prints a tally that looks complete.Keep the initial checker for the first worker, initialize additional checkers as needed, and reuse them across input files. If initialization fails, return the worker number and underlying DXIL or D3D12 error before printing the final tally.
Reproduction
Windows 11 x64 (build 26200), Rust 1.98.1, base
ffe310e. The fixture generates two no-op compute shaders and builds a stand-in DXIL validator that succeeds once and returnsE_FAILon later initialization attempts. Save the two sources below in a scratch directory and run from the repository root.ffe310estarting shader worker 2andDxcCreateInstance(validator) failed: 0x80004005. No final tally was printed.Synthetic fixture sources
Testing
dxil.dllandVICTORY_WARP=1, ran both generated compute files with--validate --pipelines. Both--jobs 1and--jobs 2emitted 4 shaders, validated all 4, and created all 4 pipelines.--jobs 2initialized exactly two validators total across both files.cargo test --workspace --locked --offline --no-fail-fastreturned 341 passed, 6 ignored, and one pre-existing failure inv_med3_f32_matches_rdna2_with_nanon Intel Iris Xe (driver 31.0.101.5333). The same test fails on the base revision and passes with the shader change from #110. With that change temporarily applied, the workspace suite returned 342 passed and 6 ignored.rustfmt --checkfor the changed file andgit diff --checkpassed.All shader inputs were generated for these tests. AI-assisted with Codex.
@Marvisak on GitHub · 2026-11-25 01:25 UTC · original
Automated triage for the maintainers.
Needs rebase. This pull request conflicts with
main(conflicting:apps/victory/src/translate.rs). It will be reviewed once it is rebased onto the currentmain.Generated by Claude Code
View command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.