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

Open
opened 2026-11-26 05:34:25 +00:00 by github-bot · 0 comments
Owner

@⁠POMXARK on GitHub · 2026-11-26 00:23 UTC · original

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)?

**@⁠POMXARK** on GitHub · 2026-11-26 00:23 UTC · [original](https://github.com/xcl-dev/xcl/issues/2586) 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)?
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 05:34:25 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.