Exact GPU HUD tile mask cuts heavy flight busy time by 0.55 ms
Full-screen UI glow and blend passes cover an entire stereo render target even when HUD elements occupy only a small fraction of the screen. In MQ6a3f65dc85 (hudmask v3, opt-in TU_HUD_MASK=1), Turnip computes an exact per-tile occupancy mask on the GPU and skips empty 64×64 tiles before shading AdditiveGlowPS and SoftLightPS.
Implementation details
- Dynamic rendering suspend/resume: supports
vkd3d-proton's same-command-bufferSUSPENDINGandRESUMING(LOAD)render passes without dropping tile state. - Descriptor discovery: derives vertex and fragment UBO bindings directly from NIR and handles
VK_DESCRIPTOR_TYPE_MUTABLE_EXTbindless heaps. - Bit-exact off path: with
TU_HUD_MASKunset, command-stream output is byte-identical to parentMQfda6079.
Native silicon gate and live Ace Combat 8 timing
Native Adreno A750 validation (G0–G4) passed with zero faults: 16/16 LOADED_OK, CTS63 49/14, native19 13,224/0, 9/9 CRC pairs bit-identical across 35 test cases, 4,000/4,000 soak/flip iterations, and 8/8 RD captures byte-identical with pm4lint=0.
In live Ace Combat 8 VR (90 Hz, 4-process mirrored ABBA across 38,694 masked passes, all 32/32 windows locked at 903 MHz):
| Metric | Delta (ON vs OFF) | 95 % CI |
|---|---|---|
| Heavy-segment GPU busy | −0.549 ms/frame | [−0.855, −0.243] |
| Pooled GPU busy | −0.297 ms/frame | [−0.513, −0.081] |
| Light-segment GPU busy | −0.045 ms/frame | [−0.351, +0.261] |
Heavy xrWaitFrame p50 (pacing) | −0.624 ms/eye | — |
| Heavy 3-vsync share | +1.64 pp (17.8 % fewer misses) | — |
The blind visual review passed 44/44 (8/8 positive controls caught, 20/20 null pairs judged neither, 16/16 live ON/OFF pairs judged neither). Across more than 55,000 masked passes in flight, zero GPU faults and zero mask errors occurred.
TU_HUD_MASK=1 targets two specific full-screen HUD glow and blend passes (AdditiveGlowPS and SoftLightPS) rather than general DX12 shaders; it has only been measured in Ace Combat 8 and native tests, and final in-headset visual acceptance (M4) is still pending. Traced runs remain on MQfda6079, and the normal adopted default driver remains MQ771.
Next: build game-agnostic DX12 and UE5 driver optimizations on top of MQ6a3f65d.