DirectStorage: optional DX12 Async Compute BCPack offload (BC1/BC3/BC4/BC5/BC6H/BC7) #2576

Open
opened 2026-11-26 00:23:41 +00:00 by POMXARK · 0 comments
POMXARK commented 2026-11-26 00:23:41 +00:00 (Migrated from github.com)
Contributor

Imported from ivall/xcl. Originally posted by POMXARK on 2026-11-26T00:23:41Z.


Plan: Add an opt-in --features gpu-bcpack (XCL_GPU_BCPACK=1) path in crates/xcl/src/hle/bcpack using bcpack-gpu-sdk v0.13.0 (MIT OR Apache-2.0, runtime table upload from tables.rs) before touching zero-copy D3D12 texture targets. A 3-file prototype against nvidia-dev (c044dc6) passes hle::bcpack::tests (6/6), hle::dstorage::tests::bcpack (3/3), and matches 12/12 full-block vectors in tests/data/bcpack on RTX 5080 with 0 byte mismatches (patch gist).

Before opening a runtime PR: would maintainers consider an opt-in feature behind bcpack-gpu-sdk, and can someone with a retail title help run the scripts/smoke.ps1 regression check (not tested locally)?

<!-- greyfinch-sync:ivall/xcl:issue:6616611816 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/issues/2586). Originally posted by [POMXARK](https://github.com/POMXARK) on 2026-11-26T00:23:41Z. --- Plan: Add an opt-in `--features gpu-bcpack` (`XCL_GPU_BCPACK=1`) path in `crates/xcl/src/hle/bcpack` using `bcpack-gpu-sdk` `v0.13.0` (`MIT OR Apache-2.0`, runtime table upload from `tables.rs`) before touching zero-copy D3D12 texture targets. A 3-file prototype against `nvidia-dev` (`c044dc6`) passes `hle::bcpack::tests` (6/6), `hle::dstorage::tests::bcpack` (3/3), and matches 12/12 full-block vectors in `tests/data/bcpack` on RTX 5080 with 0 byte mismatches ([patch gist](https://gist.github.com/POMXARK/c8ab78b645dc6365f75876efc2a5175b)). Before opening a runtime PR: would maintainers consider an opt-in feature behind `bcpack-gpu-sdk`, and can someone with a retail title help run the `scripts/smoke.ps1` regression check (not tested locally)?
Sign in to join this conversation.
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
xcl-dev/xcl#2576
No description provided.