diff options
| author | ItsNotRexed <300290919+ItsNotRexed@users.noreply.github.com> | 2026-11-23 04:42:53 -0500 |
|---|---|---|
| committer | ItsNotRexed <300290919+ItsNotRexed@users.noreply.github.com> | 2026-11-23 04:42:53 -0500 |
| commit | 57c175391db7b70ac2ec8dc7a7bf04afec52cb88 (patch) | |
| tree | 4cbd07a10787a6d340268ec8be2b8e8bad7d7823 /docs/d3d12_command_objects.md | |
| parent | e2ac2238fa5cb7ca23e653cce15fd5c1d004e0a7 (diff) | |
Revert #2490: its console-ABI list proxy breaks run_tiny_frame (please rebase and split)
With it, d3d12_xs reads list slot 48 as the console's IASetVertexBuffers, so the PC-shaped fixture list's
ClearRenderTargetView never runs and Close fails. The branch also changes runtime/src/pe_loader.cpp and carried
committed conflict markers in docs/fssm_crosscheck.md. Its docs rows go with it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'docs/d3d12_command_objects.md')
| -rw-r--r-- | docs/d3d12_command_objects.md | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/docs/d3d12_command_objects.md b/docs/d3d12_command_objects.md index 00056e2da..5a214e325 100644 --- a/docs/d3d12_command_objects.md +++ b/docs/d3d12_command_objects.md | |||
| @@ -375,10 +375,9 @@ section 3.5a), and the console list has methods well past the PC tail: 71, 73, 8 | |||
| 375 | FSR DLL. | 375 | FSR DLL. |
| 376 | 376 | ||
| 377 | Slot 148 matters beyond the builder: the address it returns is written by the CPU and passed unchanged to the GPU | 377 | Slot 148 matters beyond the builder: the address it returns is written by the CPU and passed unchanged to the GPU |
| 378 | as a root SRV address, so console upload memory has the same address for the CPU and the GPU. On a PC the two | 378 | as a root SRV address, so console upload memory has the same address for the CPU and the GPU. A replacement must |
| 379 | address spaces differ, so `d3d12_xs_device.cpp` carves a bump arena out of persistently-mapped UPLOAD-heap | 379 | return memory whose CPU pointer is also a valid GPU address (for this layer: inside the arena of |
| 380 | buffers: the title writes the mapped memory and the six root descriptor setters and the IA/SO view setters | 380 | [d3d12_vulkan.md §3.3](d3d12_vulkan.md)). |
| 381 | translate the CPU pointer to the chunk's buffer device address before forwarding. | ||
| 382 | 381 | ||
| 383 | The function at `0xd580` uses the 71/73 pair instead of the slot-146 barrier when the byte at RVA `0xd773c` is set. | 382 | The function at `0xd580` uses the 71/73 pair instead of the slot-146 barrier when the byte at RVA `0xd773c` is set. |
| 384 | That byte is one of seven bools at `0xd7738`–`0xd773e` in zero-initialised `.bss`. The only accesses to them in | 383 | That byte is one of seven bools at `0xd7738`–`0xd773e` in zero-initialised `.bss`. The only accesses to them in |