Repository navigation
Releases
v0.10.0 — Direct 2D Texture C-ABI + Vulkan 1.3 SPIR-V + 19/19 PASS
What's New in v0.10.0
- Zero-Copy Direct 2D Texture C-ABI (
bcpack_gpu.dll/include/bcpack_gpu.h):- Added
BcPackDecodeToTexture2D(...),BcPackGetDirectFence(ctx), andBcPackWaitDirectFence(ctx, fence, timeout_ms). - Runs BCPack decode (+ optional Gfx10
SW_64KB_D/SW_4KB_Sdetile) on the Async Compute Queue, handoffs purely on GPU (DIRECT Queue::Wait), and uploads directly into any callerDXGI_FORMAT_BC1_UNORM2D texture subresource viaCopyTextureRegion— including automatic GPU256BRowPitch padding for small mip levels.
- Added
- Official Vulkan 1.3 SPIR-V Compute Kernels (
shaders/spirv/*.spv,shaders/compile_spirv.sh):- Precompiled all 7 core compute shaders using Microsoft
DirectXShaderCompiler v1.9.2609(-spirv -fspv-target-env=vulkan1.3 -T cs_6_6 -E CSMain -O3):bcpack_decode.spv,bcpack_bc7_rans.spv,bc16_pack.spv,gfx10_detile.spv,hiz_build.spv,crowd_skin.spv, andbindless_paging.spv.
- Precompiled all 7 core compute shaders using Microsoft
- Verified Bit-Exact 19/19 PASS on NVIDIA GeForce RTX 5080 (DX12 Debug Layer clean — 0 errors):
- Includes
PASS 18/19 Zero-Copy Buffer C-ABIandPASS 19/19 Direct 2D Texture C-ABI(Mip 0512x512 SW_64KB_D+ Mip 364x64auto-padded256BRowPitch).
- Includes
- Prebuilt Archives:
bcpack-gpu-sdk-v0.10.0-win64.zip:bcpack_gpu.dll,bcpack_gpu.dll.lib,include/bcpack_gpu.h,.dxil,shaders/spirv/*.spv,.hlsl, anddocs/AI_ARCHITECTURE.md.bcpack-gpu-demos-v0.10.0-win64.zip:bcpack-aaa-demo.exe(interactive FPS Cap & Sim Speed HUD sliders),bcpack-gpu-demo.exe, launchers, andtools/fetch_aaa_assets.py.
v0.9.0 — Zero-Copy Shared-Device C-ABI + 18/18 PASS + Cinematic AAA 4K Benchmark
What's New in v0.9.0
- Zero-Copy Shared-Device C-ABI (
bcpack_gpu.dll/include/bcpack_gpu.h):bcpack_gpu_create_from_device(d3d12_device, d3d12_compute_queue, ...)— shares an existingID3D12Device*with caller ownership intact.BcPackDecodeToBuffer(...)— decodes BCPack (BC1 linear / AMD Gfx10SW_64KB_D/SW_4KB_Sdetiled / 16-lane BC7 rANS) directly into a caller GPUID3D12Resource*with zero CPU readback.BcPackGetComputeFence(ctx)— exposes the underlyingID3D12Fence*for pure GPUdirect_queue->Wait(fence, val).
- Interactive Open AAA 4K Showcase & Benchmark (
bcpack-aaa-demo.exe+START_AAA_BENCHMARK.bat):- On-screen mouse-draggable FPS Cap (
15–300 / VSync / MAX) & Simulation Speed (0.00x–4.00x) HUD sliders ([H]toggle), deterministic frame recorder, 12.41M-tri Mesh-Shader City + Hi-Z, active GPU Sampler Feedback (118.5 MiBVRAM saved), 500 GPU-skinned NPCs, DXR 1.1 + TAA + AgX (150.61 FPS Avg over 60s on RTX 5080).
- On-screen mouse-draggable FPS Cap (
- Verified Bit-Exact 18/18 PASS on NVIDIA GeForce RTX 5080 (DX12 Debug Layer clean, 0 errors).
Prebuilt Release Archives
bcpack-gpu-sdk-v0.9.0-win64.zip:bcpack_gpu.dll,bcpack_gpu.dll.lib,include/bcpack_gpu.h, all precompiled.dxil+.hlslshaders, anddocs/AI_ARCHITECTURE.md.bcpack-gpu-demos-v0.9.0-win64.zip:bcpack-aaa-demo.exe,bcpack-gpu-demo.exe,bcpack-demo-gpu.exe,bcpack-demo-cpu.exe, launcher.batfiles, andtools/fetch_aaa_assets.py(runpython tools\fetch_aaa_assets.pyfirst for CC0/CC-BY 4K AAA assets).
See docs/AI_ARCHITECTURE.md and docs/OUTREACH_PITCH.md for architecture details and integration templates.
v0.7.0 — Open AAA 2K PBR Showcase, 1.25M Paging & 12M Hi-Z Culling
Verified on NVIDIA RTX 5080 (17/17 Bit-Exact PASS, DX12 Debug Layer clean): Open AAA 2K PBR Showcase (278.21 FPS @ 720p / 235.18 FPS @ 1440p HDR, Flush Wave 43.4-45.1x vs CPU), 1.25M ResourceDescriptorHeap Paging, 64x64 Jet-Flight Streaming (960 MB/s), 12.04M Two-Pass Hi-Z Culling (8.53M occluded), and 500 GPU-Skinned NPC Crowd (512k verts in 0.075 ms).
v0.6.0 — Xbox Series X Open-World Stress Suite (4M Mesh Shaders + 1536-TLAS RTGI + 32x32 LRU + 1440p HDR)
Clean-room Xbox Series X|S BCPack GPU Decompressor & Open-World Streaming Stress Suite on DirectX 12 (SM 6.6 + Mesh Shaders SM 6.5 + DXR 1.1).
Highlights (Verified 12/12 PASS on NVIDIA RTX 5080, DX12 Debug Layer Clean)
- 32×32 World Grid Streaming + LRU VRAM Residency: 250m sector grid with LOD0/LOD1/HLOD visibility rings, slab fragmentation telemetry, frustum-turn priority bursts (745–1,062 MB/s), and optional real out-of-order NVMe container reads (
--world-stream --nvme-stream— 155.35 FPS). - Hardware DX12 Ultimate Mesh Shaders (
as_6_5/ms_6_5): SingleDispatchMeshacross 52,949 meshlets / 4.01M triangles with Wave32 Frustum + Distance Culling (~37% culled). - 1,536-Instance TLAS + 1-spp Diffuse RTGI + 2-Pass A-Trous Bilateral Denoiser: 3×
R16G16B16A16_FLOATHDR G-buffer, spatiotemporal IGN cosine bounce rays, and HDR filmic composite (152.99 FPS @ 1280×720 HDR, 128.62 FPS @ 2560×1440 HDR--1440p). - BCPack 8B Quantized Meshlet Geometry (
PASS 12/12):1.20xratio on 4.19M UNORM16/OctN/UV vertices decoded at 6,241.2 MB/s on Async Compute (0 mismatches). - Zero-Barrier Compute Decoder: 11,173–11,328 MB/s (282.1× vs 1T CPU) on BC1 4K tiles, 6,024 MB/s equiv on 16-lane BC7 rANS (100% Wave32).
Attached Assets
bcpack_gpu.dll&bcpack_gpu.dll.lib(C-ABI library forIDStorageQueueXwrappers)bcpack_gpu.h(C/C++ header)bcpack-gpu-dxil-v0.6.0.zip(all 14 precompiled SM 6.0/6.5/6.6.dxilshaders)
v0.5.0 — DXR 1.1 Hardware Inline Ray Tracing + Zero-Barrier BCPack (171 FPS w/ RT, 189 FPS w/o RT)
Adds DXR 1.1 hardware BLAS/TLAS + ps_6_5 RayQuery sun shadows and wet-asphalt/ocean/car reflections (171.45 FPS live on RTX 5080 w/ 8 MiB/frame BCPack decompression, --verify 8/8 PASS). Includes prebuilt bcpack_gpu.dll, bcpack_gpu.dll.lib, include/bcpack_gpu.h, and 8 precompiled DXIL shaders.
v0.4.0 — Zero-Barrier WaveReadLaneAt + Ping-Pong Async Compute (11.33 GB/s, 189 FPS)
Zero GroupMemoryBarrierWithGroupSync inside the hot rANS loop, 4-step binary search + fused state advance, and double-buffered Ping-Pong Async Compute + Direct overlap. Verified 7/7 PASS on RTX 5080: 11.33 GB/s BC1, 6.02 GB/s BC7 16-lane rANS (32/32), 432.6 GB/s Gfx10 detile, 189.36 FPS @ 8 MiB/f (171.86 FPS @ 32 MiB/f).
v0.3.0 — Xbox Velocity Parity (140 FPS Async Compute, BC7 16-Lane 100% Wave32, Gfx10 Detile, C-ABI DLL)
See README.md and DOCS_RU.md for verified RTX 5080 benchmarks (9.92 GB/s BC1, 4.76 GB/s BC7 rANS 32/32, 184.1 GB/s Gfx10 Detile, 140.1 FPS live Coastal Highway) and C-ABI integration via attached bcpack_gpu.dll + bcpack_gpu.h.
v0.2.0 — Dual-Chunk Wave32 (9.88 GB/s, 227x vs 1T CPU) + Coastal Highway 3D Scene
Major optimization & visual upgrade: Dual-Chunk Wave32 (75% warp utilization), coalesced stream cache, 80B transposed groupshared model cache, 4K-tile low-latency streaming (5.28 ms, 101.8 FPS live, 94.8 FPS at 32 MiB/frame), and a new Vice-City Coastal Highway 3D game scene with animated traffic, sunset sky shader, curved palms, and dynamic point lights.
v0.1.0 — Clean-Room BCPack HLSL SM 6.6 GPU Decoder & Live Comparison
Initial clean-room release: bit-exact Xbox Series BCPack BC1 decoder in DirectX 12 HLSL SM 6.6 (Wave32), reaching 3,383.6 MB/s (77.3x vs 1-core CPU) on RTX 5080. Includes cropped 30s side-by-side comparison video (GPU 45 FPS vs CPU 5 FPS).