d3d12: build with private scratch where the host cannot reach a title's #443
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/443"
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 brcly/TuxBox. Originally posted by glovepost on 2026-11-29T04:41:15Z.
Summary
A build whose scratch lies in title memory the host cannot import was refused, and scratch the title only reserved reached the host as a raw address. Scratch holds nothing before or after a build, so that build gets device-local scratch the list keeps.
ray-tracing-reserved-scratchbuilds a structure in title memory with scratch the title only reserved. The scene over it must be hit.Rebased onto current
main(28717263). An update that has no source structure still takes the existing full-build scratch path. The refused-build change is a separate branch and also edits the ray-tracing build path and the Lanes lists, so one of the two will need a rebase after the other merges.Tested
Run the checks relevant to this change.
lanes-selftest-ray-tracing-reserved-scratchis the new scenario. The fulllanes-selftestsuite is 25/25 on both adapters, including that scenario and the existing ray-tracing cases. The lanes package was built withpython3 build.py bvhand thenpython3 build.py lanes, because the lanes target copiesXboxBvhBuilder.dlland does not build it.Code checks on this rebase:
Both exited 0.
cargo checkprinted two existing warnings indescriptor_paging.rsandtests/device/placement/upload.rs.GPU, driver and backend:
10de:1e84, driver 620.73.041002:13c0, Mesa 26.3.1upstream-pr-checks,--windows-dxcpointing at Microsoft's x64dxcompiler.dllanddxil.dllCommands run and their results:
Claude Code wrote the original port. This session rebased it onto current main, kept the newer Lanes scenarios, reran the code checks, and recorded the Lanes suite above.
Checks
CI runs the Python unit tests, the shader compiler, DXBC, and XG layout tests, and a Windows typecheck of
tuxbox-d3d12.