feat(hle): opt-in DX12 Async Compute BCPack offload via bcpack-gpu-sdk v0.14.1 #1296
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1299"
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 fxceless/victory-fork. Originally posted by POMXARK on 2026-11-26T12:56:09Z.
Ref #1199 (Phase 1+batching Draft PR on
ceb9e1fusingbcpack-gpu-sdk v0.14.1).Completely gated behind
--features gpu-bcpackANDVICTORY_GPU_BCPACK=1— zero impact on default builds or default runtime behavior.What this Draft PR adds
bcpack-gpu-sdk v0.14.1(MIT OR Apache-2.0) optional dependency (Cargo.toml,crates/victory-hle/Cargo.toml,apps/victory/Cargo.toml):BC1(incl.lane 1index-reference SWAR fix matchingbcpack-rs#11),BC3,BC4,BC5,BC6H(Modes1–14), andBC7(Modes0–7, channel rotation guarded to modes4and5).bcpack-gpu-sdk— uploadsvictory-formats/src/bcpack-tables.binat worker init via runtime C-ABI setters (bcpack_gpu_set_{bc1,bc6h,bc7}_tables).BcPackDecodeBatchcoalescing (crates/victory-hle/src/modules/gpu_bcpack.rs,dstorage.rs):BcPackDecodeBatch(42.7xfaster than single-chunk C-ABI loop on SDK benchmarks), while preserving strict per-item fallback to CPUbcpack::decodeon small chunks (VICTORY_GPU_BCPACK_MIN_KB, default32KiB) or invalid layouts.Verification (Windows 11 + NVIDIA GeForce RTX 5080 on
ceb9e1f)cargo test --release -p victory-hle --features gpu-bcpack gpu_bcpack -- --nocapture:2 passed; 0 failed(0byte mismatches across all 6 formats in both[no-ref]and[full-ref+dict],12/13mixed batch error isolation, and 6-thread concurrent worker coalescing)cargo check -p victory-hle(default build withoutgpu-bcpack): PASS (0errors)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.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.