Steam FrameThe worklog
Turnip DX12/UE5 driver work & standalone gaming on Steam Frame

Worklog › Turnip

Root Cause

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

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 shaderLowered FP16 hazardObserved visual corruption
P19_LumenCompPS (Lumen indirect-lighting composite)1e-5 epsilon flushed to 0.0h ahead of 11× rcp hr* and 10× sqrt hr* → NaNComposited 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 → +InfOpaque 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--l15Constant 493,013.0 overflowed FP16 to +InfHighlight / tonemap corruption hazard

Architectural fix (v2.1, building offline)

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.