Skip to content

Releases

v0.15.1 — Batch Status Safety & bcpack-rs#10 Vector

Choose a tag to compare

@POMXARK POMXARK released this 26 Nov 20:16

Patch release v0.15.1:

  • Batch error-isolation hardening (src/ffi.rs): BcPackDecodeBatch and BcPackDecodeBatchToTextures now initialize every item.status = -1 before any null-context early return, catch_unwind, or wait_compute_cpu, preventing untouched status == 0 items if an error return (e.g. -99) occurs early.
  • Regression coverage (tests/v14_batch_and_tex2d.rs): Added bc1_lane1_index_reference_matches_bcpack_rs_issue10 (exact 2-block byte check from Ahmet-Dedeler/bcpack-rs#10) and batch_apis_reset_item_status_before_early_error.
  • Verified on NVIDIA GeForce RTX 5080: v14_batch_and_tex2d: 8 passed; 0 failed.

v0.15.0 — Zero-Copy Batched BcPackDecodeBatchToTextures

Choose a tag to compare

@POMXARK POMXARK released this 26 Nov 18:42

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

v0.14.1 — BC1 Lane-1 Index Ref Parity (bcpack-rs#11) & BC7 Rotation Fix

Choose a tag to compare

@POMXARK POMXARK released this 26 Nov 11:54

Clean-room GPU BCPack SDK v0.14.1 (MIT OR Apache-2.0):

  • BC1 lane 1 Index Reference (bcpack-rs#11 parity): Added ring_line[2][256] + branchless 16-pixel SWAR codes_to_lines / add_lines / lines_to_codes in shaders/bcpack_decode.hlsl (and recompiled bcpack_decode.dxil + Vulkan 1.3 spirv/bcpack_decode.spv). Verified 0 byte mismatches across 512 blocks with non-zero lane 1 references against bcpack-rs (7b2b421).
  • BC7 Rotation Guard: Restricted channel rotation strictly to modes 4 and 5 in bcpack_bc7_rebuild.hlsl (+ .dxil/.spv) and Bc7FullGpuDecoder::update_tables.
  • Includes all v0.14.0 C-ABI improvements: BcPackDecodeBatch (42.7x faster than single-chunk C-ABI loop on 24.0 MiB mixed 6-format workloads) and 6-format BcPackDecodeToTexture2D with removed 16 MiB row-pad cap.
  • Verified on NVIDIA RTX 5080: 5/5 PASS, 0 byte mismatches across all 6 formats (BC1/3/4/5/6H/7).

v0.14.0 — Mixed-Format BcPackDecodeBatch & 6-Format Texture2D

Choose a tag to compare

@POMXARK POMXARK released this 26 Nov 01:41

Clean-room GPU BCPack SDK v0.14.0 (MIT OR Apache-2.0):

  • Added C-ABI BcPackBatchItem + BcPackDecodeBatch batching mixed BC1/BC3/BC4/BC5/BC6H/BC7 chunks by pipeline family with automatic sub-batching and per-item status isolation (41.7x faster than looping BcPackDecodeAsync: 150.73 ms wall / 116.07 ms GPU kernel vs 6,289.43 ms on 24.0 MiB).
  • Scaled row_pad_default allocation to context output capacity and removed the hardcoded 16 MiB limit in BcPackDecodeToTexture2D (pre-submission -5 bounds guard + documented BC6H support).
  • Verified on NVIDIA RTX 5080 (tests/v14_batch_and_tex2d: 3/3 PASS, 0 byte mismatches across all 6 formats).

bcpack-gpu-sdk v0.13.0 — Full BC6H (Modes 1–14), Full BC1 & Runtime Table C-ABI

Choose a tag to compare

@POMXARK POMXARK released this 25 Nov 23:18

Clean-room GPU Compute SDK v0.13.0: adds full BC6H (Modes 1–14) Wave32 rANS + rebuilder, full BC1 (ix_ref + 255-entry dict + quad rank table) in BcnGpuDecoder, and caller runtime table setters (bcpack_gpu_set_bc1_tables, bcpack_gpu_set_bc6h_tables, bcpack_gpu_set_bc7_tables). Verified 21/21 PASS (DX12 Debug Layer 0 errors) and 12/12 bit-exact parity (0 byte mismatches across BC1/BC3/BC4/BC5/BC6H/BC7) on NVIDIA RTX 5080.

bcpack-gpu-sdk v0.12.0 — Full BC7 (Modes 0–7) + BC3/BC4/BC5 GPU Decoders

Choose a tag to compare

@POMXARK POMXARK released this 25 Nov 22:29

Adds bit-exact HLSL SM 6.6 + DXIL + Vulkan 1.3 SPIR-V GPU decoders and zero-copy DX12 C-ABI (BcPackDecodeToBuffer / BcPackDecodeToTexture2D / BcPackDecodeAsync) for BC3 (0x0C), BC4 (0x10), BC5 (0x14), and Full Multi-Mode BC7 Modes 0–7 (0x1C), alongside existing BC1 (11.33 GB/s). Verified 21/21 PASS (0 mismatches, DX12 Debug Layer 0 errors) on NVIDIA RTX 5080.

bcpack-gpu-sdk v0.11.0 (Win64 C-ABI DLL + Vulkan 1.3 SPIR-V)

Choose a tag to compare

@POMXARK POMXARK released this 25 Nov 22:04

Standalone clean-room GPU compute SDK extracted from POMXARK/bcpack-gpu-hlsl. Includes zero-copy Win64 C-ABI (bcpack_gpu.dll + bcpack_gpu.dll.lib + include/bcpack_gpu.h), 10 HLSL SM 6.6 + DXIL kernels, and 9 prebuilt Vulkan 1.3 SPIR-V compute kernels (incl. VK_KHR_ray_query). Verified 19/19 bit-exact PASS (DX12 Debug Layer 0 errors) on NVIDIA RTX 5080.