Repository navigation
KestrelX v0.3.0 — Visual First Light (RDNA2 VS/PS, WindowHost, GameInput, XAudio2)
KestrelX v0.3.0 — Visual First Light
Clean-room MIT C++23 milestone shipping full RDNA2 Vertex & Pixel (�s_6_6 / ps_6_6) shader recompilation, Win32/DXGI window & headless frame capture, GameInput, and XAudio2 HLE bridges — culminating in hardware-verified Visual First Light on both NVIDIA and AMD D3D12 GPUs.
What's New (Closes #5, #6, #7, #8)
- RDNA2 EXP Vertex & Pixel Pipeline (#5):
- Full EXP instruction decoding/disassembly (pos0..3, param0..31, mrt0..7) in
dna2_isa, IrOp::Exp IR lowering, and HLSL �s_6_6 / ps_6_6 emission ([WaveSize] omitted on VS/PS per SM 6.6 rules). - KXRV (VS) and KXRP (PS) container support in KxDeviceProxy::CreateGraphicsPipelineState with FNV-1a bytecode caching.
- Full EXP instruction decoding/disassembly (pos0..3, param0..31, mrt0..7) in
- Win32 WindowHost + DXGI Swapchain + Headless BMP Capture (#6):
- IDXGISwapChain3 flip-model host and GPU readback BMP capture wired into D3D12PresentX and CLI (kestrel run --windowed / --capture <out.bmp>).
- GameInput Bridge (#7):
- COM GameInputCreate bridge (gameinput.dll) backed by dynamic xinput1_4.dll, Win32 keyboard fallback, and deterministic mock provider for CI/unit testing.
- XAudio2 Audio Bridge (#8):
- COM XAudio2Create mastering & source voice bridge (xaudio2_9.dll) with a 96k-frame stereo float32/int16 PCM ring buffer, RMS energy metering, and underrun counters.
Verification Receipts
- Build: MSVC 2022 /W4 /permissive- — 0 warnings, 0 errors.
- Test Suite:
14 passed, 0 failed(synthetic guest title kestrel_test_title.exe exercises 22 HLE imports across 5 console DLLs, submits raw GFX10.3 RDNA2 VS+PS microcode to CreateGraphicsPipelineState, rasterizes a 256×256 RGB triangle on D3D12 hardware, verifies background + 3 RGB vertices + center pixels, presents via D3D12PresentX, and exercises GameInputCreate + XAudio2Create). - Dual-GPU Visual Parity: Verified across NVIDIA GeForce RTX 4060 (--adapter 0) and AMD Radeon 780M (--adapter 1) — max per-channel delta 1/255 across all 196,608 RGB channels.
- 100% Clean-Room & Legal: Zero proprietary game files, firmware, SDK binaries, or keys.
