Repository navigation
Conversation
|
Tested
|
|
The QI/Release pairs in slots 86/101/108 are balanced, and the test checks
AI-assisted (Claude Code). |
|
Independent build + test: PASS AI-assisted (Claude Code). Windows 11 x64, MSVC 19.44.35220, Ninja RelWithDebInfo, NVIDIA GeForce RTX 3080 driver 621.24 / 32.0.16.2124 (host D3D12, WARP, and the Vulkan layer). Head
Code check:
No issues found. FYI: #7923 / #8252 / #8258 also change |
|
Tested
Compared with #7201, which carries the same first commits: this PR calls through a queried AI-assisted. |
|
Linux + RDNA4 check of GPU: AMD RX 9060 XT (RDNA4/GFX1200), RADV Mesa 26.0.8, Ubuntu 26.04 — Built: yes —
The count deltas are the base, not the diff: this head sits on One failing line, pre-existing and flaky, not from this diff: Caveat: this is the Linux/Vulkan side. The slot 86/101/108 forwarding itself is compiled and mock-tested but not exercised against a real Xbox/D3D12 device here (no Windows build or game run in this lane). AI-assisted. |
|
@GustawMatuszewski A coverage clarification on your Linux report: did you also cross-compile and run a separate Windows/Wine build for the final statement that device_proxy_test and xs_proxy_mock_test pass? At this PR's merge base d239fd8, both targets are inside The Linux GPU and portable results still provide useful coverage of the rest of the tree. If there was a separate cross-build, please give its toolchain and exact proxy-test names/results; otherwise the last sentence should distinguish those tests as not run in that lane. No independent execution claimed here; this is a source/registration check. AI-assisted review (Codex). |
|
Tested
AI-assisted (Claude Code). |
|
checked: #851707b32da with #72011d080f4 | on: Arch Linux, Wine 11.18, RX 7900 XT / RADV Mesa 26.2.3, clang-cl 23.1.6 + xwin | result: all eight proxy mock modes pass; the distinct-interface negative control fails as intended. The combined change gets past our previous execute access violation and reaches command-list recording and presentation-window initialization. Base: our frozen c3n diagnostic stack and its linked full ancestry, plus #7201's range d239fd8..1d080f4 and ONLY #8517's 8e76568..07b32da delta. No newer-main rebase. This preserves #7201's newer null-array refusal, which is absent from #8517's carried parent. Conflict resolutions keep the existing handlers/tests and add the new ones; no new production adaptation. Existing slot-61 caller classification and #7021 handle translation remain intact. Slot-108 description cleaning is unchanged from #7201, not unified with other cleaning PRs. Build passes. Selected suite: 46/51, with the same five control failures (two known Wine environment cases, two Wine WARP device-creation failures, and the previously failing mesh Close check). All eight proxy modes pass, including routing, both slot-108 argument orders, 56-byte stride, 1025-descriptor batch, null-array refusal, distinct QI receivers, error propagation and balanced references. The device_proxy_test additions are not exercised here: Wine WARP fails device creation before reaching them. Negative control: revert ONLY #8517's production changes, retaining byte-identical tests. The proxy test exits 1 at the assertion requiring PC slot 47 to be called on the queried extension, never the base pointer, with its reference released. Restored c3o passes. This isolates the synthetic QI contract. One bounded retail comparison, same shader library/prefix/offline sandbox: init 0, run 3. The earlier execute access violation after slot 108 is absent. The run records barriers and a render-target clear, later initializes a PresentX window, then terminates on a worker-thread title breakpoint. No rendered frame or successful Present is established. The trace contains 2,334 calls: 1,645 ok, 93 void/called, 586 unsupported, 7 failed, 2 ignored and 1 console-only. The seven failures are six CreatePipelineState calls and one command-list Close. Missing slot-67 programs and unsupported allocation format 65 remain; the breakpoint's cause is not identified. Retail progress belongs to the combined routing + QI change; this does not isolate QI's effect in retail. Existing slot-74 S_OK and XG E_NOTIMPL stand-ins remain limitations. Source/patch/binary hashes verified; raw traces stay local. AI-assisted testing (Claude), review/reporting (Codex). |
Depends on: #7201
D3D-694 follow-up. Claim: #8344 (comment)
Problem
The handlers added by #7201 detect newer device interfaces through QueryInterface, but call slots 47, 62 and 68 on the original base device pointer. COM permits the queried interface to have a distinct pointer and vtable.
Change
Acquire Device2, Device5 or Device8 for the respective Xbox slot 86, 101 or 108, call through the returned interface, and release the acquired reference. The creation handlers preserve backend HRESULTs. The allocation handler keeps the existing 56-byte descriptor conversion and both caller ABI forms.
A synthetic COM fixture exposes one IUnknown identity at separate base and extended-interface pointers. It checks receiver selection, creation failure propagation, both allocation return-buffer orders, and reference balance.
This branch preserves all four commits of #7201 through
8e765684ce6a4c9a8c511d0662ec939c4b50e850. The follow-up itself is the two-file commit07b32da9049de906a9aa556b594f0c7cdd13c0d9.Validation
Windows x64, MSVC 19.44, SDK 10.0.26100, RelWithDebInfo:
git diff --checkpass.CPU mocks and WARP only. No hardware GPU or game files used.