Repository navigation
Conversation
…evice8 Reopened from #7201 (closed in the PR reset), rebased on current main. Slot 86 (CreatePipelineState stream) -> PC slot 47, slot 101 (CreateStateObject) -> PC slot 62, slot 108 (GetResourceAllocationInfo2) -> PC slot 68. Slot 108 accepts the console C-ABI order (return buffer first) and the PC order, reads the title's 56-byte D3D12_RESOURCE_DESC entries, expands each into a zeroed D3D12_RESOURCE_DESC1, normalizes Xbox layout words and flag bits, and refuses a count with a null array. Rebase: kept main's slot 133 (CreatePlacedResourceX) next to the new slots, and slot 108 now masks flags with slot 133's PC set (0x5FF, which keeps USE_TIGHT_ALIGNMENT and drops 0x200) instead of 0x1FF.
|
Measured on top of the stack of #349, #350, #356, #362, #369, #375, #377, #383 and #385 (plus #142 and #328), on
So the slot 108 stop is cleared here, and slot 86 is reached and routed: the log has One note for whoever merges: on that stack this branch conflicts in AI-assisted; built and run on the machine above. |
|
Measured on Without this PR the title faults in the host at its first call of device slot 108 ( One thing for the author: the PR no longer merges with current No game data in this comment: only slot numbers, call counts and the format number. AI-assisted: yes |
Original description (mentions and
#Nreferences are disabled; the numbers refer to the old repository):Claimed in the coordination issue as: the device slot 86/101/108 claim in
#7049(carried over from#7201)Reopens
#7201, which was closed in the PR reset, rebased onto current main.What and why
Three Xbox device slots that sit past the PC vtable layout are routed to their PC counterparts on DeviceProxy:
*outand returns E_POINTER on a null IID.Retail evidence, from the
#7201thread:#8554) used it.Changes from
#7201in this rebase:slot_name,device_slot_overridden, the dispatch and the mock test.0x5FF: USE_TIGHT_ALIGNMENT is kept and 0x200 is dropped, instead of0x1FF. This addresses tedin7's flag-mask note.Open note (evansedeno): a console DEPTH_STENCIL | UNORDERED_ACCESS texture sizes through slot 25 but comes back {UINT64_MAX, 0} through slot 108. If
#7679'spc_resource_desclands, slot 108 should use it for each entry so that the two slots agree.Tested
#7201head 1d080f4 (the same code before the rebase):device_proxy|device_proxy_trace|xs_proxy_mock.*.AI-assisted: yes (Claude)
Checklist
docs/design.md, with how it was confirmed. (n/a: no translator change)