d3d12: do not copy a structure that title memory never held #436
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/436"
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 NickStallman on 2026-11-29T02:30:45Z.
Summary
An acceleration structure in a title's own memory exists only in the private storage TuxBox gives it. When a copy's source there has no storage,
maingets it wrong in two ways:Close. Its labels are never written, and queues that wait for them stop.What changes
What it doesn't do
Observed in ProjectScarlett (integration builds, RTX 5090)
Closeby the second form; its label was never written and the queues were held.ClosewithE_INVALIDARG; I haven't found why.Tested
Lanes:
ray-tracing-guest-memorynow copies a never-built source over a built triangle, with compact and clone, then traces the scene and queries three sizes. It fails onmain(28717263with this PR's Lanes change only, AMD) and passes with the fix on both cards. It covers the second form (destination with storage). The first form could hang a GPU without the fix, so only the unit tests cover it.GPU, driver and backend:
The checks ran on f271e4f9. The pushed commit has the same tree and only its message differs. A game was playing on the 5090 during part of the AMD check. Not run on Windows.
🤖 Generated with Claude Code