diff options
| author | justr4mzi <243612488+justr4mzi@users.noreply.github.com> | 2026-11-23 23:22:45 +0000 |
|---|---|---|
| committer | DesertGamer <DesertGamer@users.noreply.github.com> | 2026-11-24 18:43:05 +0400 |
| commit | e9a13181f4b5e84a860dada2fc18055c519e5627 (patch) | |
| tree | f7d323b5bd20fe9369750285a44c39e9710dddf5 /runtime/src/thread_stacks.cpp | |
| parent | f3e26be7c661e97eb4c70464e675a3b32dc149e3 (diff) | |
d3d12_xs: route device slots 86, 101, and 108 to PC Device2/Device5/Device8
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.
(cherry picked from commit 1b07215c84443b87ad152ffdc8d23b0356125456)
Diffstat (limited to 'runtime/src/thread_stacks.cpp')
0 files changed, 0 insertions, 0 deletions