Tests: verify BCPack BCn block packing #1369
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
goal:world-load
good first issue
help wanted
invalid
keep-open
off-goal
question
stale
test-only
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/xcl-dev--xcl!1369
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/1369/head"
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?
@hajduzsolt on GitHub · 2026-11-24 15:19 UTC · original
hajduzsolt:tests/bcpack-block-packing→main· +48 −0 · 1 files · 1 commits · closed without mergingAdd synthetic checks for the final BC1, BC3, BC4 and BC5 block packing performed by the BCPack decoder. Fixed expected bytes cover RGB565 endpoints, index ordering, biased alpha endpoints and channel placement. The decoder is unchanged.
What is in it
crates/xcl/src/hle/bcpack/victory.rs: three self-contained unit tests.Tested
cargo build --workspacecargo test -p xcl --lib block_packing_tests -- --test-threads=4: 3 passed, 0 failed, 0 ignored.cargo test --workspace -- --test-threads=4: 754 passed, 0 failed, 41 ignored. The reported passes include tests that return early when prerequisites are missing.--nocapture: the same counts;test_title_draws_with_a_root_signature_under_the_debug_layeranduploads_start_from_each_subresources_statereported SKIPPED because the D3D12 debug layer is unavailable.Regression run
Not tested
AI use
@hajduzsolt on GitHub · 2026-11-24 16:12 UTC · original
Closing standalone test-only PR in favor of functional compiler/runtime PRs with integrated unit tests.
@DavidM1911 on GitHub · 2026-11-24 16:33 UTC · original
Verification on RTX 3060 Ti (Windows 11), branch merged with current
main:cargo test -p xcl --lib: all passed, 0 failed, ~21 ignored.Thanks!
Pull request closed