diff options
| author | Nolan Cotter <186326284+NolanCotter@users.noreply.github.com> | 2026-11-22 18:00:25 -0700 |
|---|---|---|
| committer | Nolan Cotter <186326284+NolanCotter@users.noreply.github.com> | 2026-11-22 18:00:25 -0700 |
| commit | 3693ce73e61cce13668e8928f0d4eb4b9b167c11 (patch) | |
| tree | fa11b5c8153bcaa6c0fb95f342c02897d85244a7 /runtime/src/pe_loader.cpp | |
| parent | 2f85105492e52ba937f93b4adfd81a6af16d416e (diff) | |
d3d12_xs: let a fence at SignalX slot 25 carry the newer-layout evidence
shdann's report on #2490: on a device whose queue layout is still
undetected, the first SignalX at slot 25 answered S_OK without
signalling — the fence never completes and a title waiting on that
value hangs. The Signal/Wait detection at slots 16/17 only helps a
title that calls them; one that signals exclusively through SignalX
(the console-native path) would lose every signal, not just the first.
Per the measured table (docs/d3d12_xs_console_abi.md §4) the
fence-first queue methods are Signal/Wait/SignalX only, so a proxy
fence arriving at slot 25 while the layout is fully unknown is the
newer layout's SignalX: mark the shared detection newer and forward it
as Signal. A proven-older device still leaves slot 25 to the
console-only no-op, and a fence at slot 23 forwards without pinning so
a newer title's own SignalX detection stays open.
The mock's new check_signalx_detection covers the lost-signal repro
(hr=0 calls=0 on the first SignalX), detection inheritance on a second
queue, the proven-older no-op at 25 and the non-pinning forward at 23.
Written with AI assistance (Devin). Verified with the clang-cl/xwin
cross-build under Wine: xs_proxy_mock_test PASS, loader_test 87/0.
Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Diffstat (limited to 'runtime/src/pe_loader.cpp')
0 files changed, 0 insertions, 0 deletions