feat(hle): opt-in DX12 Async Compute BCPack offload via bcpack-gpu-sdk v0.14.1 #1299
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/fxceless--victory-fork!1299
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-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?
@POMXARK on GitHub · 2026-11-26 12:56 UTC · original
POMXARK:feat/gpu-bcpack-v0141→main· +1169 −15 · 6 files · 2 commits · openRef #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.