Repository navigation
KestrelX v0.6.0 — 2D Compute Tiling, PBR 3-MRT GBuffer, Async Compute & Force Feedback
KestrelX v0.6.0 — 2D Compute Tiling, PBR 3-MRT GBuffer, Async Compute & Force Feedback
Milestone v0.6.0 introduces critical AAA rendering and execution primitives, verified bit-exact on dual-GPU physical hardware (NVIDIA GeForce RTX 4060 Laptop GPU + AMD Radeon 780M RDNA3).
🚀 Key Highlights & Architectural Additions
1. RDNA2 2D/3D Compute Workgroup Tiling & Spatial Awareness (#18)
- SM 6.6 HLSL compute shader emission now maps spatial 2D/3D workgroup dimensions:
- s[4..6]: Grid group dispatch IDs (gid.x, gid.y, gid.z)
- s[8..9]: Global flattened / spatial thread indices ( id.x, tid.y)
- �[0..1]: Flattened and Y-axis global thread indices
- �[2..3]: Local group thread indices (gtid.x, gtid.y)
- Compute runner extended with multi-dimensional dispatch arguments (groups_x, groups_y, groups_z), verified via LDS spatial memory exchange across multiple compute threadgroups.
2. Deferred PBR Material GBuffer 3-MRT Pipeline (#19)
- Full Multiple Render Target (MRT) compilation support in pixel shaders:
- mrt_mask bitmask tracking during RDNA2 EXP opcode decoding.
- Generates SM 6.6 struct KxPsOut supporting up to 8 simultaneous color targets (SV_Target0..7).
- Verified bit-exact deferred rendering composite on dual-GPU hardware:
- MRT0 (Albedo): Diffuse base color
- MRT1 (Normal): Tangent-space / world normals encoded in [0, 1] RGBA space
- MRT2 (Material): PBR packed properties (Roughness, Metallic, Ambient Occlusion)
3. D3D12.X Async Compute Queue & Inter-Queue Fence Sync (#20)
- KxCommandQueueProxy support for D3D12_COMMAND_LIST_TYPE_COMPUTE.
- Async compute queue creation telemetry and cross-queue synchronization tracking via Signal and Wait fences without host pipeline stalls.
4. GameInput Dual-Motor & Trigger Force Feedback Bridge (#21)
- Implemented IKxGameInputDevice with SetRumbleState and GetRumbleState.
- HLE bridge dynamically resolves host XInputSetState with normalized clamp mapping for low/high frequency vibration motors and impulse triggers.
🧪 Hardware Parity Verification (26/26 PASS)
- NVIDIA GeForce RTX 4060 Laptop GPU: 26/26 PASS (0.0% pixel delta)
- AMD Radeon 780M (RDNA3): 26/26 PASS (0.0% pixel delta)
Full Changelog: v0.5.0...v0.6.0
