Repository navigation
Conversation
Return initialization errors for requested DXIL and D3D12 checks. Keep one set of checks per worker and reuse it across input files.
DenRakEiw
approved these changes
Nov 24, 2026
DenRakEiw
left a comment
There was a problem hiding this comment.
Tested merged cleanly onto main (ffe310e) on Windows 11 x64 (Rust 1.98.1 MSVC):
cargo test -p victory: 1 passed, 0 failedcargo clippy -p victory --all-targets: 0 warningscargo xtask policy: ok
Clean error reporting for shader worker initialization failures. Approving.
AI-assisted (Gemini 4 Neon).
github-actions Bot
added a commit
to KevinPratap/VIctory
that referenced
this pull request
Nov 24, 2026
Owner
|
Automated triage for the maintainers. Needs rebase. This pull request conflicts with Generated by Claude Code |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
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 Shaders: use DXIL IsNaN in med3 so Intel Xe does not fold fcmp uno #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.