[Contribution] Native Wave32 GPU BCPack Decoder (RTX 5080 Verified) + Zero-Copy C-ABI bcpack_gpu.dll (MIT/Apache-2.0) #229
Labels
No labels
accessibility
bloqué : binaire console
bug
chargeur
console-dll
cpu
documentation
duplicate
enhancement
good first issue
gpu
help wanted
invalid
performance
question
runtime-gdk
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/LooperSalty--AnyXboxX#229
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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-25 19:28 UTC · original
Hi team,
Notice you've been actively debugging NVIDIA 32-lane wave behavior on RTX 5080! For
IDStorageQueueX/xgcoreBCPack texture decompression on NVIDIA Wave32 hardware, I built a clean-room,MIT OR Apache-2.0licensed DX12 HLSL SM 6.6 Wave32 decompressor and prebuilt C-ABI DLL (bcpack_gpu.dll) verified bit-exact on RTX 5080:v0.10.0): https://github.com/POMXARK/bcpack-gpu-hlsl/releases/tag/v0.10.0 (bcpack-gpu-sdk-v0.10.0-win64.zip)docs/AI_ARCHITECTURE.mdHighlights (RTX 5080 Verified
19/19 PASS, DX12 Debug Layer Clean — 0 errors)WaveSize(32)Compute Kernels (shaders/bcpack_decode.hlsl,shaders/bcpack_bc7_rans.hlsl):24/32lanes active on BC1,32/32= 100% on 16-lane BC7 rANS), 0 barriers inside the hot loop (WaveReadLaneAt), reaching 11.33 GB/s (BC1) and 6.02 GB/s equiv (BC7 rANS).-O3Wave-Intrinsic Pitfall Documented: ExplicitWaveActiveBallot+countbitsworkaround replacingWavePrefixCountBits/WaveActiveCountBitsin the split-half byte allocator (0byte mismatches at-O3).621.24RT-Core Cache Fix: Isolateduav_barrier_all()sync note if pairing Async Compute streaming with DXRRayQuery.include/bcpack_gpu.h): Share yourID3D12Device*viabcpack_gpu_create_from_deviceand decode (+ Gfx10SW_64KB_D/SW_4KB_Sdetile @432.6 GB/s) directly into caller GPU buffers (BcPackDecodeToBuffer) or 2D texture mips (BcPackDecodeToTexture2D) with pure GPU fence synchronization.Zero Rust toolchain needed — the C-ABI DLL, import
.lib,.dxil, and.spvbinaries are attached in thev0.10.0release!