Tests: verify BCPack BCn block packing #1359
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1369"
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 ivall/xcl. Originally posted by hajduzsolt on 2026-11-24T15:19:30Z.
Add 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
Imported from ivall/xcl. Originally posted by hajduzsolt on 2026-11-24T16:12:38Z.
Closing standalone test-only PR in favor of functional compiler/runtime PRs with integrated unit tests.
Imported from ivall/xcl. Originally posted by DavidM1911 on 2026-11-24T16:33:39Z.
Verification on RTX 3060 Ti (Windows 11), branch merged with current
main:cargo test -p xcl --lib: all passed, 0 failed, ~21 ignored.Thanks!
upstream-sync referenced this pull request2026-11-25 08:07:45 +00:00
Pull request closed