Repair indirect, overlap and depth-bounds GPU tests on win10-test #37
No reviewers
Labels
No labels
accessibility
bench-bm-v1
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/PastiiJay--klbf-lab!37
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-37"
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?
@HandshakeHackin on GitHub · 2026-11-25 19:24 UTC · original
HandshakeHackin:win10-deduplicate-indirect-tests→win10-test· +36 −373 · 4 files · 4 commits · openOn Lab 51 candidate
d006c10, the release binary builds, butcargo test -p victory-gpu --lib --lockedstops at compile time. Six diagnostics come from repeated definitions inindirect.rs. This keeps a single copy of four tests, their helper and the benchmark module. Each duplicated function body was byte-identical. The separate window-check test and bare-cost benchmark are retained.Once those definitions are deduplicated, one indirect test still fails on Windows WARP. The regular card-compare fixture dispatches one group for three pieces and sees
[0, 7, 7]where all three flags should be zero. The test now calls the dispatch helper already used by the runtime for both shader variants.Two more tests now use the active branch APIs. The overlap test uses the same assertions and four-argument span calls as the first parent of the Lab 42 merge. The vertex-only depth-bounds test now creates the pipeline twice through
graphics_depth_bounds_pipeline. All 22 targeted checks passed on Windows, including a required WARP depth-bounds device.Remaining full-suite blocker: Three descriptor tests exercise texture span ownership, partial mips and the incremental sweep. Their production APIs (
Spans::claim,Claim,HostHeap::sweep_part) are present in the second parent of the Lab 42 merge (47ff7b0) and absent from the current candidate. The final targeted CI run excluded those three bodies only in its temporary checkout. The PR preserves them for a separate decision on porting the matching feature set.@PastiiJay on GitHub · 2026-11-25 19:43 UTC · original
Thanks @HandshakeHackin! Noted. Repairing those tests on win10-test is useful. I'll review it with the next build.
@HandshakeHackin on GitHub · 2026-11-26 11:31 UTC · original
I pushed two test corrections in
3ecd80f. The fingerprint fixture now changes the byte the implementation samples at the midpoint. The 128-record indirect fixture accepts either 64-thread group winning the reservation and still checks the copied records and output limit.For the three descriptor tests discussed above, this test-only commit exercises the overlap rules implemented on
win10-test. It compares predicted and actual invalidation for each of the three rules. I kept this alternative on the fork so you can choose whether to use it or port the other parent’s descriptor implementation.With the alternative,
win10-testat23db69d, and the bounds fix from #27, the fullvictory-gpu --libsuite ran serially on both Windows WARP images: 214 passed, 8 ignored, 0 filtered on each. The separate depth check required device support and DXC and passed on both. Windows Server 2022 and 2025 jobs. The upstream check on this PR alone stops earlier at thesgd5.rs:557Clippy warning. Main already has the one-line fix in4c46f37.@PastiiJay on GitHub · 2026-11-26 11:34 UTC · original
Thanks for both corrections and for keeping the descriptor alternative separate, that makes the choice easier. Could you open
3a648abas its own small PR againstwin10-test? Then we can review the two options side by side and merge one.View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.