Repository navigation
Releases
v0.15.1 — Batch Status Safety & bcpack-rs#10 Vector
Patch release v0.15.1:
- Batch error-isolation hardening (
src/ffi.rs):BcPackDecodeBatchandBcPackDecodeBatchToTexturesnow initialize everyitem.status = -1before any null-context early return,catch_unwind, orwait_compute_cpu, preventing untouchedstatus == 0items if an error return (e.g.-99) occurs early. - Regression coverage (
tests/v14_batch_and_tex2d.rs): Addedbc1_lane1_index_reference_matches_bcpack_rs_issue10(exact 2-block byte check fromAhmet-Dedeler/bcpack-rs#10) andbatch_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
What's New in v0.15.0
- Added
BcPackDecodeBatchToTextures(BcPackTextureBatchItem) ininclude/bcpack_gpu.handbcpack_gpu.dll:- Decodes heterogeneous multi-format batches (
BC1,BC3,BC4,BC5,BC6H,BC7) + Gfx10 detile + auto256BRowPitch staging directly into callerID3D12Resource2D texture subresources with zero per-item CPU waits (single Compute batch -> single GPUqueue->Wait-> singleCopyTextureRegioncommand list -> single Direct fence).
- Decodes heterogeneous multi-format batches (
- Verified on Windows 11 + NVIDIA RTX 5080 (
v14_batch_and_tex2d:6 passed; 0 failed,--libPASS,cargo build --releasePASS):bcpack_decode_batch_to_textures_all_6_formats_and_detile:10/11mixed items (all 6 formats +SW_64KB_D+64x64RowPitch + multi-mip +1isolated error):0byte mismatches;16.0 MiB(128x512x512 BC1) decoded directly into textures in40.58 ms(394.3 MB/s).
v0.14.1 — BC1 Lane-1 Index Ref Parity (bcpack-rs#11) & BC7 Rotation Fix
Clean-room GPU BCPack SDK v0.14.1 (MIT OR Apache-2.0):
- BC1
lane 1Index Reference (bcpack-rs#11parity): Addedring_line[2][256]+ branchless 16-pixel SWARcodes_to_lines/add_lines/lines_to_codesinshaders/bcpack_decode.hlsl(and recompiledbcpack_decode.dxil+ Vulkan 1.3spirv/bcpack_decode.spv). Verified0byte mismatches across512blocks with non-zerolane 1references againstbcpack-rs(7b2b421). - BC7 Rotation Guard: Restricted channel rotation strictly to modes
4and5inbcpack_bc7_rebuild.hlsl(+.dxil/.spv) andBc7FullGpuDecoder::update_tables. - Includes all
v0.14.0C-ABI improvements:BcPackDecodeBatch(42.7xfaster than single-chunk C-ABI loop on24.0 MiBmixed 6-format workloads) and 6-formatBcPackDecodeToTexture2Dwith removed16 MiBrow-pad cap. - Verified on NVIDIA RTX 5080:
5/5 PASS,0byte mismatches across all 6 formats (BC1/3/4/5/6H/7).
v0.14.0 — Mixed-Format BcPackDecodeBatch & 6-Format Texture2D
Clean-room GPU BCPack SDK v0.14.0 (MIT OR Apache-2.0):
- Added C-ABI
BcPackBatchItem+BcPackDecodeBatchbatching mixedBC1/BC3/BC4/BC5/BC6H/BC7chunks by pipeline family with automatic sub-batching and per-item status isolation (41.7xfaster than loopingBcPackDecodeAsync:150.73 mswall /116.07 msGPU kernel vs6,289.43 mson24.0 MiB). - Scaled
row_pad_defaultallocation to context output capacity and removed the hardcoded16 MiBlimit inBcPackDecodeToTexture2D(pre-submission-5bounds guard + documentedBC6Hsupport). - Verified on NVIDIA RTX 5080 (
tests/v14_batch_and_tex2d:3/3 PASS,0byte mismatches across all 6 formats).
bcpack-gpu-sdk v0.13.0 — Full BC6H (Modes 1–14), Full BC1 & Runtime Table C-ABI
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
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)
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.