runtime: allocate command-list upload memory on the recording allocator #2208
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2216"
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?
Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-25T05:34:48Z.
Refs #1758, #874, #2210. Publishes the recording-scoped upload allocation previously used in the local startup comparison. Render-mode command-list slot 148 returns a CPU-writable address with a desktop GPU address at the same offset. Root SRV slots 43 and 44 use that mapping only for a valid SRV parameter and an aligned address in the open recording. A closed list and invalid allocation requests return null. The desktop allocator holds the pages across list and allocator resets until all recorded references and queue submissions have retired.
Verified at
1239c983on Windows 11 26200, RTX 4060 Laptop 32.0.16.1656 and WARP. Existing upload/command list tests: 12/12 passed, no skips. MasterDomino's unmodified independent acceptance client from #2210 at342554da: 4/4 passed, debug layer enabled and disabled on each backend. Distinct 640-byte A/B GPU readbacks survived a blocked queue and reset, 16- and 256-byte alignment held, invalid ranges and post-Close requests were refused, zero debug-layer errors or device removal. The acceptance client is separate from this production patch.For the independent acceptance, build
startup_slot148_acceptancefrom #2210, put the candidated3d12_xs.dllbeside that executable, setX2W_D3D12_RENDER=1,X2W_D3D12_PERMISSIVE=1andX2W_D3D12_LIST_NOOP=1, then runstartup_slot148_acceptance.exe warpandstartup_slot148_acceptance.exe hardwarewithX2W_D3D12_DEBUG=1and=0.