Tests: cover tiled mip claims without a device #1354
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!1354
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-1354"
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?
@anes66 on GitHub · 2026-11-26 17:48 UTC · original
anes66:test/tiles-cpu-claim-coverage→main· +132 −0 · 1 files · 1 commits · draftTiled mip claims can now be checked without creating a device. The three tests cover 9,120 backing/request combinations, cancellation and retry, packed-mip groups, eight concurrent claimers, and 2D/array SRV ranges with their LOD clamp and plane/array metadata preserved.
Only tests are added. This complements the device-backed checks relevant to #776; it does not establish a fix for its device loss or for memory exhaustion.
Tested on Windows 10 x64, Rust 1.100.0:
cargo test --locked -p victory-gpu --lib cpu_claim_tests -j2 -- --nocapture --test-threads=1: 3 passed, 0 failed, 0 ignored, no device calls or skips.cargo clippy --locked -p victory-gpu --lib --tests -j2 -- -D warnings -A deprecated: passed. The deprecation allowance is for the newer local compiler'sfetch_updatewarnings.GPU tests and the full workspace suite were not run locally. Main at
e4245f3currently fails CI's repository policy check because two existing source files exceed the size limit; this change does not touch those files. Kept as a draft pending CI and review.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.