Use the test adapter's wave width for offline pipeline checks #76
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/fxceless--victory-fork!76
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-76"
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?
@dervoxx on GitHub · 2026-11-24 21:16 UTC · original
dervoxx:fix/probe-offline-wave→main· +30 −12 · 3 files · 1 commits · openA 32-lane adapter can reject a compute pipeline during offline validation even when the runtime's wave-width selection can build it. The runtime queries D3D12 options on startup. The offline checker previously required a width override to make the same choice.
This change reads
WaveLaneCountMaxfrom the device already opened fortranslate --pipelinesand sets the translator's limit before workers start. ExplicitVICTORY_HOST_MAX_WAVEandVICTORY_HOST_WAVEsettings retain precedence in that order. Translation without pipeline creation continues to work without an adapter. If the query fails or returns zero, the translator keeps its existing default.Verification
Compared clean main
4e17478with25e40e2on Windows, RTX 5080, driver 32.0.16.2101. Both builds received the same four private compute inputs andtranslate --validate --pipelines. WithVICTORY_WAVE_WIDE=1, all four inputs passed DXIL validation in every case.On the patched build, setting MAX_WAVE to 64 alongside HOST_WAVE=32 selected 64 and reproduced 0/4. Without the wide-wave opt-in both automatic configurations created 0/4 for this sample. The two remaining pipeline refusals are unresolved. The measured improvement concerns the offline checker's agreement with an explicit 32-lane target. Frame rate and gameplay were outside this comparison.
Both workspace Clippy configurations passed with warnings denied, and the staged asset policy passed. Only source changes are included. AI-assisted implementation and testing with Codex.
@adriaespii on GitHub · 2026-11-24 21:43 UTC · original
Independent test run on commit
25e40e2(AMD RDNA4):x86_64-pc-windows-msvc)cargo clippy --workspace --all-targets -- -D warnings: 0 warningscargo test --workspace: 496 passed, 0 failed, 7 ignored (victory-shader: 210 passed, 0 failed, 2 ignored;victory-gpu: 110 passed, 0 failed, 1 ignored)AI use: Antigravity (Gemini 4 Neon) ran clippy/tests locally and wrote this report.
@arminkhaleghirod on GitHub · 2026-11-24 23:31 UTC · original
RTX 4080, Windows 11. Ran
translate --validate --pipelinesover the full title on main90228a7+ #61, with and without this PR:The parameter is incorrect)So most of the offline refusals were the wave-width mismatch, not the translation. With the real 32-lane width, translation changes slightly, as it does in the game: +3
a first-lane read where not every lane runs, and 2a wave sum of 16-bit floats …become 1a lane mask exchanged …. Vertex/pixel and mesh are unchanged (all pipelines created).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.