Skip to content

v0.15.0 — Zero-Copy Batched BcPackDecodeBatchToTextures

Choose a tag to compare

@POMXARK POMXARK released this 26 Nov 18:42
· 1 commit to main since this release

What's New in v0.15.0

  • Added BcPackDecodeBatchToTextures (BcPackTextureBatchItem) in include/bcpack_gpu.h and bcpack_gpu.dll:
    • Decodes heterogeneous multi-format batches (BC1, BC3, BC4, BC5, BC6H, BC7) + Gfx10 detile + auto 256B RowPitch staging directly into caller ID3D12Resource 2D texture subresources with zero per-item CPU waits (single Compute batch -> single GPU queue->Wait -> single CopyTextureRegion command list -> single Direct fence).
  • Verified on Windows 11 + NVIDIA RTX 5080 (v14_batch_and_tex2d: 6 passed; 0 failed, --lib PASS, cargo build --release PASS):
    • bcpack_decode_batch_to_textures_all_6_formats_and_detile: 10/11 mixed items (all 6 formats + SW_64KB_D + 64x64 RowPitch + multi-mip + 1 isolated error): 0 byte mismatches; 16.0 MiB (128x512x512 BC1) decoded directly into textures in 40.58 ms (394.3 MB/s).