Skip to content

KestrelX v0.7.0 — Mesh Shaders, VRS Tier 2, Work Graphs, IR Optimization & 55/55 Dual-GPU Pass

Choose a tag to compare

@Batushn Batushn released this 24 Nov 00:06
· 15 commits to main since this release

KestrelX v0.7.0 — Mesh Shaders, VRS Tier 2, Work Graphs, IR Optimization & 55/55 Dual-GPU Pass

We are proud to release KestrelX v0.7.0, expanding the 100% clean-room Xbox Series X|S native compatibility runtime and RDNA2 (GFX10.3) -> SM 6.6 DXIL recompilation engine.

🚀 Highlights & New Features in v0.7.0

  1. RDNA2 Mesh (ms_6_6) & Amplification (as_6_6) Pipeline:
    • Dynamic decoding of RDNA2 primitive export (v_export_prim), mesh vertex attributes (v_export_vert), and payload dispatch (s_dispatch_mesh).
    • SM 6.6 HLSL code emission with SetMeshOutputCounts, vertex/primitive outputs, and in-process DXIL compilation.
    • Verified on physical NVIDIA RTX 4060 and AMD Radeon 780M hardware.
  2. Variable Rate Shading (VRS Tier 2):
    • Screen-space shading rate image decoders (16x16 and 8x8 tile granularity), combiners, and ID3D12GraphicsCommandList5::RSSetShadingRateImage proxy.
  3. D3D12 Work Graphs & Async Workgroup Dispatch:
    • DAG program validation, 16B-aligned RecordRingAllocator, and 2-node ExecuteIndirect producer->consumer execution pipeline.
  4. RDNA2 IR Optimization Passes:
    • Unreachable basic-block pruning, intra-block copy propagation, constant folding (integer/float unary & binary operations), and backward-liveness Dead-Code Elimination (DCE) with dead flag pruning.
    • Dual-GPU bit-exact output parity verified between optimized and unoptimized IR shaders.
  5. Persistent Disk Shader Cache LRU Quota & Hardening:
    • Thread-safe DiskShaderCache with LRU eviction quota (max_entries and max_bytes), multi-dimensional dispatch keys (group_y, group_z, mrt_mask), and corrupt file recovery.
  6. Overlay VFS Case-Insensitive Per-Layer Cache & List Directory:
    • Layered case-insensitive path cache with zero redundant directory traversals, merged list_directory across base and overlay layers with whiteout suppression, and non-throwing std::error_code safety.
  7. Complete 30-Predicate VCmp/SCmp & 64-Bit Scalar ALU:
    • Full VOPC and SOPC condition decoding, 64-bit scalar operations (s_mov_b64, s_not_b64, s_addc_u32, s_subb_u32), bitfields, and global memory x4 loads/stores.
  8. Audio & System Runtime Hardening:
    • XAudio2 multi-voice software mixer, pitch resampling, submix bus routing, and X3DAudio 3D spatial positioning.
    • Multi-controller GameInput slot management (0..3) with device hotplugging callbacks and telemetry.
    • AMD Zen 2 VEH shim extensions for MCOMMIT, RDPRU, PREFETCHW, and SSE4a EXTRQ/INSERTQ emulation.
    • PE32+ delay-load import resolution, export forwarder resolution, and multi-page thunk leak cleanup.
  9. CI & Hardware Verification Suite:
    • Suite expanded to 55/55 PASS bit-exact across dual physical GPUs (NVIDIA GeForce RTX 4060 Laptop GPU and AMD Radeon 780M RDNA3).
    • --unit-only mode with GitHub Actions CI workflow for non-GPU environments.

📦 Verification

powershell -ExecutionPolicy Bypass -File scripts/build.ps1 -Config Release