victory-gpu: indirect::tests::warp_budget_saturates_without_wraparound_and_preserves_draw_fields fails on main #1097
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?
Imported from fxceless/victory-fork. Originally posted by FIJI1299 on 2026-11-25T19:26:30Z.
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
Imported from fxceless/victory-fork. Originally posted by DominicBrett on 2026-11-25T21:17:27Z.
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.