Skip to content

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
· 2 commits to main since this release

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