d3d12_xs: device slot 127 creates the committed resource, again (RT-SLOT127) #369

Merged
Mumogg merged 7 commits from upstream-pr/369 into main 2026-11-24 05:04:50 +00:00
Mumogg commented 2026-11-24 03:59:49 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by Mumogg on 2026-11-24T03:59:49Z.


Claimed in #14 as RT-SLOT127. Depends on: #349, #350, #356, #362 (their commits come first here; this pull request is the last commit).

What and why

After #362 the title calls device slot 127. It is past the PC device table, so main refuses it with E_NOTIMPL and the title stops on its own int3.

Commit 8d622049a by tedin7 (-x, authorship kept; an ancestor of main whose content is not in the tree) gives the slot the argument list of ID3D12Device10::CreateCommittedResource3 and calls the PC device's (PC slot 76) with the Xbox layout word replaced as slot 76 does and the flags limited to the PC bits. The cherry-pick conflicted only where neighbours have been added since (the slot 26 thunk, the slot list, the test's call list); both sides are kept.

Measured

Linux (Nobara 44, kernel 7.3), Wine 11.21 staging, RTX 5070 Ti (driver 615.78.08), clang-cl 22.1.8 + xwin SDK 10.0.26100, own 1.0.2.1 copy, network off, on main ece4ba5b3, with #142 and #328 applied on top for the boot runs (they are not in this branch).

--run D3D12 calls Ends with
up to #362 1,631 the title's int3 after slot 127 is refused
+ this 1,639 the title's int3 in a later check

After it the trace has two ID3D12Device10::CreateCommittedResource3 ok and the views made on those resources. The first description logged: a 2D texture, Xbox flags 0x300005 kept as PC flags 0x5.

About the next stop, as far as tools/int3_cause.py shows it: the title stops when a value it computes is above 0x1fffff. That reads like a bound on a descriptor index, which would be the descriptor-heap handle question of the chain document (stop 13); I have not confirmed it yet.

xs_proxy_mock_test under Wine passes, with the commit's slot 127 case (the committed resource is created with the PC flags and layout; a device without ID3D12Device10 gets E_NOTIMPL).

Not built with MSVC and not run on Windows.

AI-assisted (Claude Code); built and run on the machine above.

🤖 Generated with Claude Code

https://claude.ai/code/session_01HxBQf4pXH8PWpC5oZsM4bt

<!-- greyfinch-sync:ubiquitarianism/leonida:issue:5465816962 --> Imported from [ubiquitarianism/leonida](https://github.com/ubiquitarianism/leonida/pull/369). Originally posted by [Mumogg](https://github.com/Mumogg) on 2026-11-24T03:59:49Z. --- Claimed in #14 as `RT-SLOT127`. Depends on: #349, #350, #356, #362 (their commits come first here; this pull request is the last commit). ### What and why After #362 the title calls device slot 127. It is past the PC device table, so `main` refuses it with `E_NOTIMPL` and the title stops on its own `int3`. Commit `8d622049a` by tedin7 (`-x`, authorship kept; an ancestor of `main` whose content is not in the tree) gives the slot the argument list of `ID3D12Device10::CreateCommittedResource3` and calls the PC device's (PC slot 76) with the Xbox layout word replaced as slot 76 does and the flags limited to the PC bits. The cherry-pick conflicted only where neighbours have been added since (the slot 26 thunk, the slot list, the test's call list); both sides are kept. ### Measured Linux (Nobara 44, kernel 7.3), Wine 11.21 staging, RTX 5070 Ti (driver 615.78.08), clang-cl 22.1.8 + xwin SDK 10.0.26100, own 1.0.2.1 copy, network off, on `main` `ece4ba5b3`, with #142 and #328 applied on top for the boot runs (they are not in this branch). | `--run` | D3D12 calls | Ends with | |---|---|---| | up to #362 | 1,631 | the title's `int3` after slot 127 is refused | | + this | 1,639 | the title's `int3` in a later check | After it the trace has two `ID3D12Device10::CreateCommittedResource3 ok` and the views made on those resources. The first description logged: a 2D texture, Xbox flags `0x300005` kept as PC flags `0x5`. About the next stop, as far as `tools/int3_cause.py` shows it: the title stops when a value it computes is above `0x1fffff`. That reads like a bound on a descriptor index, which would be the descriptor-heap handle question of the chain document (stop 13); I have not confirmed it yet. `xs_proxy_mock_test` under Wine passes, with the commit's slot 127 case (the committed resource is created with the PC flags and layout; a device without `ID3D12Device10` gets `E_NOTIMPL`). Not built with MSVC and not run on Windows. AI-assisted (Claude Code); built and run on the machine above. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01HxBQf4pXH8PWpC5oZsM4bt
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
ProjectLeonida/mandy!369
No description provided.