mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 22:05:54 +01:00
[PR #641] [CLOSED] d3d12_xs: restore the console command-list IID mapping lost in a merge #680
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
starred/leonida#680
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ubiquitarianism/leonida/pull/641
Author: @ExCorvus
Created: 11/24/2026
Status: ❌ Closed
Base:
main← Head:restore/console-list-iid-mapping📝 Commits (1)
2f41bb1d3d12_xs: restore the console command-list IID mapping lost in a merge📊 Changes
3 files changed (+93 additions, -4 deletions)
View changed files
➕
runtime/shims/d3d12_xs_command_list_iid.h(+68 -0)📝
runtime/shims/d3d12_xs_device.cpp(+9 -4)📝
runtime/test/xs_proxy_mock_test.cpp(+16 -0)📄 Description
d3d12_xs: restore the console command-list IID mapping lost in a merge
Claimed in the coordination issue as: none exists yet — this PR is the claim, as with PR #2.
Relates to issue #47 (the boot ladder): the command-list IID wall its comments name after the
slot-26 and copy-queue stops.
AI-assisted: yes (Qwen4 Max Preview / Alibaba Token Plan).
What and why
3c95a4a95("d3d12_xs: map the console list IID in QI and CreateCommandListX") addedruntime/shims/d3d12_xs_command_list_iid.h— the measured console→PC IID pair for deviceslot 73 — and wired it into
list_query_interfaceand the slot-73 path. The commit is anancestor of main, but the header is not in the tree (
git ls-tree main -- runtime/shims/d3d12_xs_command_list_iid.his empty) and both wiring points forward therequested IID unchanged again. A later merge dropped them — the same loss pattern PR #131
restored for the DirectStorage shim.
The retail executable asks slot 73 (
CreateCommandListX) for the console command-list IIDc3827890-4024-474c-98cf-645b51dc4874. Unmapped, the PCCreateCommandListrefuses it(the Vulkan layer logs
QueryInterface: unknown IID), the slot returns a failing HRESULT,and the title asserts on it — a fatal
int3right after the call, confirmed statically withtools/int3_cause.py(the assert branches on the slot-73 result's sign).The change
3c95a4a95(blobfc149cea9); its provenancenotes (TomBox GPL-3.0 measurement, Windows SDK 10.0.26100.0) stay intact.
command_list_iid_for_pcinlist_query_interfaceand inthe slot-73
CreateCommandListcall, adapted to the currentListProxy:wrap_listQIsthrough
list_query_interface, so the wrapped proxy answers the console IID as well.xs_proxy_mock_test: a console-IID slot-73 case asserts the mapped PC IID(
ID3D12GraphicsCommandList6) reachesCreateCommandListand the proxy's QI answers theconsole IID.
No behavior change for PC IIDs or IIDs outside the table (forwarded unchanged, logged once,
as the original header documents).
Tested
Host: Windows 11, AMD Radeon RX 9070 XT, driver
32.0.32029.2010,LEONIDA_D3D12=vulkan.xs_proxy_mock_testbuilds and exits 0 with the new case.gta6rt --runon my own 1.0.2.1 package (108/108 files SHA-256 verified), main8f481cf16+ this change (the three touched files are byte-identical at21625bca8):CreateCommandListrefuses the console IID; the title'sfatal assert ends the run ~2.2 s in.
GetResourceAllocationInfo, slot 127CreateCommittedResource3, SRV/RTV/UAV creation —before the next, unrelated assert (a bounds check on a title global; a new rung on the
#47 ladder, not a regression).
21625bca8; the header is byte-identical to the3c95a4a95blob. If main moves again, the two wiring points are small and local.
Checklist
export names and counts only; the IID is a public-interface identifier already named
in
3c95a4a95's public commit message).🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.