victory-gpu: indirect::tests::warp_budget_saturates_without_wraparound_and_preserves_draw_fields fails on main #1100
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#1100
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
@FIJI1299 on GitHub · 2026-11-25 19:26 UTC · original
Tested commit
<HASH>(main) on Windows 11:Environment
621.40)Description
Running
cargo test --workspaceonmainfails on a single unit test invictory-gpu(181 passed, 1 failed, 5 ignored), while all other workspace crates (victory-shader,victory-hle,victory-loader,victory-pe,victory-pipeline,victory-formats,victory-core,xtask) pass with0failures.Reproduction
Failure Output
@DominicBrett on GitHub · 2026-11-25 21:17 UTC · original
The cause is the order of thread groups, not the hardware: the test's 128 records run as two groups of 64 that race for one budget word, and D3D12 (WARP here, whatever GPU is installed) doesn't fix which group charges first. The test assumed the first group always wins. On my machine the old test failed 93 runs out of 100, every failure with records 64 and 65 kept instead of 1 and 2. Test-only fix with evidence in #1134.