Add the extended swizzled/LIN formats (float, 16/32-bit pairs, 10-bit, depth, DXN/DXT3A/DXT5A/CTX1) with distinct compact values, wire them through DXGI mapping, bpp, row-pitch and swizzle classification, and implement software channel-swap conversions (BGRA->RGBA for A16B16G16R16/A32B32G32R32, A/R field swap for A2R10G10B10/X2R10G10B10).
Support float3/float4 vertex texcoords via D3DFVF_TEXCOORDSIZE* in both the fixed-function FVF path (d3d8_shaders.c) and the native-VS input-layout path (d3d8_vsh.c); add d3d8_GetCurrentFVF.
Add tests/d3d8_smoke: an offline harness that compiles the real d3d8_resources.c + d3d8_swizzle.h with device-accessor stubs, exercising to_dxgi/bpp/predicates, swizzle round-trip, and the channel-swap conversions. Fixes an L6V5U5 sign-extension bug (5-bit V/U now cleanly sign-extends into R8G8_SNORM at upload).
Complete rewrite of the D3D8 fixed-function shader pipeline:
- 4-stage multi-texture with all D3DTOP operations and D3DTA arguments
- Hardware T&L lighting (8 lights: directional/point/spot, Blinn-Phong)
- Vertex fog (linear/exp/exp2) with PS fog color blending
- Triangle fan and quad list to triangle list conversion
- 4MB ring buffer for DrawPrimitiveUP (no per-call buffer alloc)
- Multi-stage sampler binding (all 4 stages)
- NV2A stub headers for standalone toolkit builds
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
NV2A GPU:
- Upstream nv2a_pgraph_d3d11.c/h from burnout3: translates NV2A Kelvin
push buffer method calls to D3D11 rendering commands
- Upstream nv2a_pb_replay.c: push buffer capture and replay system
- Route NV2A method calls through PGRAPH translator in nv2a_core.c
- Update CMakeLists.txt to build new NV2A files
D3D8 textures:
- Add d3d8_swizzle.h: Xbox texture unswizzle (Z-order/Morton code)
for converting swizzled Xbox textures to linear D3D11 layout
- Integrate unswizzle into tex_UnlockRect upload path
- Add texture format mappings: A4R4G4B4, LIN_A4R4G4B4, A8L8, P8
Kernel:
- Add EEPROM support (ExQueryNonVolatileSetting) with NA/NTSC defaults
- Add SMBus/SMC (HalReadSMBusValue/HalWriteSMBusValue) returning
production values: version "P01", component AV pack, 40C temp
- Enhance AvSendTVEncoderOption: returns HDTV AV pack, 480p capable
- Register new ordinals in kernel_thunks.c
APU:
- Add global audio mute flag (g_audio_muted) for development testing
Documentation:
- Add docs/technical/gap-analysis.md: comprehensive comparison of xemu
vs xboxrecomp with prioritized feature gaps for Blood Wake/Wreckless
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>