Repository navigation
Conversation
|
Ran the console device-slot test at Environment: Windows 11 Pro build 26200 x64, NVIDIA GeForce RTX 5070 Ti (Blackwell, wave32 only, 16 GB) driver 32.0.16.2124, Intel Core i5-12400F, 64 GB RAM, rustc 1.100.0 (0ef1bc386 2026-11-09), MSVC 14.44.35207, DXC 1.9.2609.5, debug build. The new test passes, covering the console device slots #83-#126 that run the PC's newer methods. It is a CPU-side vtable-routing test. The author's suite ran on an RTX 2070 SUPER; this adds a Blackwell desktop datapoint for the focused test. The PR has no comments yet. Not tested: the full workspace suite here, a paired smoke run, a retail title, AMD and Intel GPUs, native wave64 hosts, Wine, release profile, game data. AI-assisted (OpenCode), model: DeepSeek V4.1 Flash Free - checked out the PR's head commit in a detached worktree, built it, ran the tests, wrote this report; the worktree was not modified; no game data was used. |
…er device methods After its own extensions, the console device vtable continues with the PC's newer device methods in PC order, at a fixed distance per run: xcl-dev#83-xcl-dev#103 are PC xcl-dev#44-xcl-dev#64 (+39), xcl-dev#105-xcl-dev#107 PC xcl-dev#65-xcl-dev#67 (+40), xcl-dev#125/xcl-dev#126 PC xcl-dev#73/xcl-dev#74 (+52). The slots XCL already handles from title calls sit exactly there: xcl-dev#86 CreatePipelineState, xcl-dev#108 GetResourceAllocationInfo2, xcl-dev#127 CreateCommittedResource3. Every other slot fell into the console-extension stub, which answers S_OK and leaves the out pointer untouched: a created object comes back NULL, SetEventOnMultipleFenceCompletion never sets its event. The 20 slots whose arguments are the PC's now go to that PC method through console_remap (title calls only; the runtime keeps PC's), including XCL's wrappers of CreatePipelineLibrary, SetResidencyPriority, EnqueueMakeResident, CreateStateObject and CreateShaderCacheSession. Slots that take a resource or heap description (xcl-dev#92-xcl-dev#95, xcl-dev#109, xcl-dev#110, xcl-dev#112, xcl-dev#128, xcl-dev#129), CreateCommandList1 (xcl-dev#90), CreateCommandQueue1 (xcl-dev#124) and CreateSampler2 (xcl-dev#130) need console translation and stay stubs here. The identities are from a console API audit; no log yet shows a title calling these. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
bfc6ffc to
209d16a
Compare
|
No open or merged PR remaps these device slots. #3234 is about command-list #126/#127, not the device, and #3136 (same author) takes the complementary resource-method slots (#92-#95, #109, #110, #112, #128, #129), which AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human. |
Status: a guess that needs evidence before it can be merged. The mapping of console device slots #83-#126 onto the PC's newer device methods at fixed distances is reasoned from how titles call the API and from the PC's D3D12; it is not taken from any console documentation, and no title has confirmed it yet. Draft until then.
Evidence that would confirm it: on
mainthis slot is a logged stub, so a title that calls it showsID3D12Device::#<slot>inxcl.logand inreport.json's stubs; anXCL_D3D12_TRACE=1run of such a title shows its arguments; arguments that read as the PC method's (a PC desc, an IID the PC method takes) confirm a slot. The retail game used for the regression run does not get there.If you run a title that gets there, please post those lines here (not the whole log, which names your paths).
After its own extensions, the console device vtable continues with the PC's newer device methods
in PC order, at a fixed distance per run: #83-#103 are PC #44-#64 (+39), #105-#107 PC #65-#67
(+40), #125/#126 PC #73/#74 (+52). The slots XCL already handles from title calls sit exactly
there: #86 CreatePipelineState, #108 GetResourceAllocationInfo2, #127 CreateCommittedResource3.
Every other slot fell into the console-extension stub, which answers S_OK and leaves the out
pointer untouched: a created object comes back NULL, SetEventOnMultipleFenceCompletion never
sets its event.
The 20 slots whose arguments are the PC's now go to that PC method through console_remap
(title calls only; the runtime keeps PC's), including XCL's wrappers of CreatePipelineLibrary,
SetResidencyPriority, EnqueueMakeResident, CreateStateObject and CreateShaderCacheSession. Slots
that take a resource or heap description (#92-#95, #109, #110, #112, #128, #129), CreateCommandList1
(#90), CreateCommandQueue1 (#124) and CreateSampler2 (#130) need console translation and stay
stubs here. The identities are from a console API audit; no log yet shows a title calling these.
What is in it
crates/xcl/src/hle/d3d12x/real.rs: +59 / -0new tests:
console_device_slots_run_the_pc_method_of_their_runTested
NVIDIA RTX 2070 SUPER (driver 32.0.16.2140), AMD Ryzen 5 3600XT, Windows 11 build 26300, Rust 1.100.0 MSVC; tests in debug
Current head
209d16a0(rebased ontomain765b2c5bto resolve conflicts): the suite has not been rerun on it; the counts below are from the earlier heads they name.cargo test --workspace --no-fail-fast -- --test-threads=4onbfc6ffc6(built onmain336fddda; it merges into the currentmaine429936cwithout conflict): 2123 passed, 9 failed, 48 ignored, 25SKIPPEDlines (21 no wave64, 3 gpu: direct RDNA2 -> DXIL backend (no HLSL / DXC), behind XCL_DIRECT_DXIL #1426, 1 no heap windows).The 9 failures are the ones
mainhas (3e2etitle tests and 6 split-wave64 GPU tests, main e429936 on NVIDIA: 3 e2e title tests and 6 split-wave64 GPU tests fail since #2959 #3093:main336fdddagives 2122 passed, 9 failed, 48 ignored); the set of failing tests is identical to it.console_device_slots_run_the_pc_method_of_their_run: ok in that runRegression run
Current head
209d16a0, rebased ontomain765b2c5bon 2026-11-28 to resolve conflicts withmain. RTX 2070 SUPER, the retail game, 60 s,XCL_PRESS_AT=25:A,XCL_PREPARE=0(no startup shader preparation), release builds; each run started from a copy of the same DXIL cache (one queue job:main, then PR heads one after the other).main:This PR's head:
Not tested
Full preparation. The smoke runs used
XCL_PREPARE=0.A title calling any of the 20 slots: none is in the retail game's log.
A driver whose device is older than a remapped method: the slot keeps the "(not on PC)" stub it had.
AMD and Intel GPUs; wave64 hardware (the RTX 2070 SUPER is wave32).
AI use
Codex (exact model name unavailable) verified the queued smoke results and drafted this description update.
Claude Code, Claude Opus 5.5: the code and tests. The description and the test / suite runs: Claude Code, Claude Sonnet 5.5 and Claude Opus 5.5.
🤖 Generated with Claude Code