Pillars 4 to 6: zero-config gaze VRS, SR-aware autotuning, and HWRT compiler wins
Pillars 4 through 6 extend the general Direct3D 12 and Unreal Engine 5 driver stack beyond scalar shader compilation to eye-tracked variable-rate shading, hardware-timed GMEM/sysmem selection, and hardware ray tracing.
Pillar 4: Zero-config eye-tracked gaze VRS (TU_VRS=auto)
Previously, foveated VRS required hard-coding render-target dimensions (TU_VRS_DIMS) for each game and dynamic-resolution scale. TU_VRS=auto replaces manual dimension lists with automatic eligibility detection for main color passes and a bounded LRU VRS map cache that adapts to dynamic resolution scaling. It preserves application-provided fragment shading rate attachments on traditional render passes, rejects per-layer render areas and MSRTSS, and falls back cleanly to full-rate shading whenever gaze shared memory is absent.
Pillar 5: Hardware-timed SR-aware autotuner (TU_SR_AUTOTUNE)
Tile-based GPUs lose substantial bandwidth if vkd3d-proton suspend/resume render passes pick the wrong binning mode. Pillar 5 adds a PROFILED autotuner driven by real Adreno RB_DONE_TS hardware timestamps (plus an optional bandwidth heuristic mode): - Measures actual GMEM versus SYSMEM render-pass duration per pass hash and converges probabilistically toward the faster path. - Fixes cross-command-buffer suspend/resume hazards (is_cross_cb_sr forced to SYSMEM before single-prim and GMEM overrides) and enforces SYSMEM on same-CB resumed passes whenever TU_ELIDE_RP_SR is disabled.
Unified opt-in profile (TU_DX12_PROFILE=1|vr)
All five unified pillars sit behind a single opt-in umbrella in MQca5ec87b: - Unset / 0: 0 bytes hashed into the cache UUID; 100 % byte-identical to MQ6a3f65d. - TU_DX12_PROFILE=1 (flat games): enables TU_UBO_WITNESS_HOIST=1, TU_UE5_SAFE_FP16=1, TU_ELIDE_RP_SR=1, TU_ELIDE_CLEAR=1, TU_ELIDE_PRIME=auto, TU_SR_AUTOTUNE=1, TU_SG32_EMU=v2, and TU_UBWC_3D=1 (leaving VRS off). - TU_DX12_PROFILE=vr: adds TU_VRS=auto. Every individual knob remains independently overridable.
Pillar 6: General HWRT / ray-query optimization (TU_RT_OPT=1)
Built in parallel on the same MQ6a3f65d base (keeping the MQa267488 H-PLOC acquire barrier and bounded BVH encoder wait untouched), TU_RT_OPT=1 adds six spec-sound ray-tracing optimizations: command-buffer preamble hoisting, redundant per-raygen handle check elision under CP_COND_REG_EXEC, sound push-descriptor UBO witnessing for RT variants, shared trace_rq storage with dead-field liveness kills (33 full registers killed at lower_rq_initialize), per-trace-site hit-state bitmasks, and skipping a redundant refit barrier in tu_update_as.
Across 44 compiled Adreno A750 ray-tracing variants spanning 5 executable UE5 Lumen HWRT pipeline families (0 crashes, 0 NIR_DEBUG=validate errors, 0 wave regressions, 0 spill increases):
| Pipeline family | Variants | Wave occupancy gains | cat6 delta | stp spill delta | ldp spill delta |
|---|---|---|---|---|---|
ff08 (Lumen HWRT) | 4 | 0/4 | −19.7 % | 3,795 → 1,257 (−66.9 %) | 6,770 → 2,627 (−61.2 %) |
7a51 (Lumen HWRT) | 4 | 0/4 | −19.8 % | 3,409 → 1,247 (−63.4 %) | 6,571 → 2,606 (−60.3 %) |
87a5 (sampled) | 10 | 10/10 (+50 % to +100 %) | −66.9 % | 476 → 0 (−100.0 %) | 1,286 → 0 (−100.0 %) |
eedc / 61af | 26 | 6/26 (+33 %) | −8.2 % / −8.1 % | 0 → 0 | 0 → 0 |
Overall, 16/44 variants gained wave occupancy and 10/10 spilling variants cut register spills by 63 % to 100 %.
TU_RT_OPT=1 is currently verified offline on 44 Adreno A750 ray-tracing pipeline variants and has not yet been merged into the gated unified binary or timed in live Lumen cinematics. Pillars 4 and 5 have passed offline drm-shim checks and are queued for native A750 silicon validation, not yet live game A/B benchmarking.
Next: run the full native Adreno A750 gate (G0–G4) on the unified 5-pillar build and then benchmark live DX12 games under TU_DX12_PROFILE=1 and vr.