Root-causing the Ace Combat 8 black-surface collapse: FP16 subnormal flush-to-zero into rcp/rsq
Offline IR3/NIR disassembly and cross-row log audits of DX12_V2 isolated the exact cause of all three severe Ace Combat 8 regressions (42/46 blind review fail): TU_SAFE_FP16=1, specifically half-float subnormal flush-to-zero and constant overflow feeding reciprocal, reciprocal-square-root, and square-root instructions.
Ruling out the other pillars
TU_SR_AUTOTUNEruled out:DX12_NOAT_1(TU_SR_AUTOTUNE=0) reproduced the exact same83.6 %black-surface collapse oncin-33.Elide+SRruled out: runtime logs recorded0clear/pass elisions insideDX12_V2.TU_UBO_WITNESS_HOISTandTU_RT_OPTruled out: IR3 disassemblies confirmed bit-exact FP32 arithmetic across all hoisted uniform loads and ray-tracing variants.
Why FP16 broke UE5 even with all branch predicates kept in FP32
Although TU_SAFE_FP16 kept OpBranchConditional predicates in FP32, it still allowed special-function operations (fdiv, frcp, frsq, fsqrt, flog2, fexp2, fpow) to lower to FP16 and lacked a constant-range guard. On Adreno A750, FP16 subnormals below 6.1035×10⁻⁵ flush to 0.0h and constants above 65,504 overflow to +Inf.
Every observed visual failure maps directly to a concrete lowered shader:
| UE5 shader | Lowered FP16 hazard | Observed visual corruption |
|---|---|---|
P19_LumenCompPS (Lumen indirect-lighting composite) | 1e-5 epsilon flushed to 0.0h ahead of 11× rcp hr* and 10× sqrt hr* → NaN | Composited pitch black over every opaque surface below the sky (cin-33 83.3 % black, dkw-36 27.7 % black) while sky and clouds stayed clean |
vtps (translucent canopy & catapult steam) | 41× rcp hr* + flushed 1e-5 → 0.0h + overflowed 1e8 / 1e12 → +Inf | Opaque black/magenta/cyan NaN mosaic block on the cockpit canopy and catapult steam dropout |
CT_GBuf_e2ca (GBuffer material pass) | 3× frsq in FP16 normalizing GBuffer normals + 7× bary.f → hr* | Corrupted indirect SkyLight and reflections on shaded aircraft surfaces in Flight even with Lumen off |
tonemap--l15 | Constant 493,013.0 overflowed FP16 to +Inf | Highlight / tonemap corruption hazard |
Architectural fix (v2.1, building offline)
TU_DX12_PROFILE=1andTU_DX12_PROFILE=vrbecome strictly100 %bit-exact FP32 + zero CPU overhead:TU_SAFE_FP16is removed from the default umbrella alongsideTU_SR_AUTOTUNEandTU_ELIDE_CLEAR, leaving only bit-exact GPU compiler and render-pass wins (TU_UBO_WITNESS_HOIST,TU_RT_OPT,TU_ELIDE_RP_SR, leanTU_ELIDE_PRIME,TU_SG32_EMU=v2,TU_UBWC_3D, plus fixedTU_VRS=autoinvr).- Hardened opt-in
TU_SAFE_FP16=1: forbids FP16 SFUs (div,rcp,rsq,sqrt,log2,exp2,pow), protects subnormal and out-of-range constants (< 1e-4or> 16,384), and keeps interpolated shader inputs in FP32.
the v2.1 fix is currently building offline and has not yet executed on Adreno A750 silicon or passed a fresh blind visual review in Ace Combat 8; no live visual cure or speedup is claimed yet. The adopted Ace Combat 8 VR build remains on MQ6a3f65d (QV86), and the normal adopted default driver remains MQ771.
Next: close independent code review, run the guarded Adreno A750 native gate (G0–G4), re-verify Ace Combat 8 visuals and timing on v2.1, and publish Cyberpunk 2077 Campaign B results.