d3d12: do not copy a structure whose build was refused #461
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/461"
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-29T09:19:55Z.
Summary
A build into title memory that is refused publishes no structure (#442), so scenes leave its instances out. The storage chosen for it stays in the pool, and a copy takes a source with storage for a structure that was built (#436). So a copy of a refused build still goes to the host, reading either storage nothing was built into or the structure that was there before. An update in place and a size query have the same fault.
#436 and #442 are each right alone; this is the gap between them.
The storage is now withdrawn when the build is refused, as for a write that can't run, and the recording list keeps it for lists that still use it. A copy of such a structure isn't run, its size reads as zero, and an update there is built in full.
Found by reading. No title is known to do this.
Tested
Rebased onto
main(6e2c5dab, with #455):c204da6e.check --no-gpupassed on it, and the full check: RTX 5090 187 pass, 0 fail; AMD iGPU 186 pass, 0 fail, guest-present-4k-splash skipped. Both include the new scene. The Lanes failing-first run below is for2f8174fd, the version before #455. The change there is the same except for the call shape ofpublish_locked.a_refused_build_leaves_no_structure_to_copy: fails onmain(75453953), passes here. It checks the bookkeeping without a device, not a GPU copy.python tuxbox.py check --no-gpu: passed.ray-tracing-refused-structure, the third scene, overmain's runtime (75453953) and with this change, on an RTX 5090 (620.70.10) and an AMD iGPU (1002:13c0, RADV), GE-Proton11-14: without it, "ray onto the copy of the refused rebuild: expected instance -1, found 7"; with it, pass. Same on both cards.tuxbox.py checkon2f8174fd: RTX 5090 181 pass, 0 fail; AMD iGPU 180 pass, 0 fail, guest-present-4k-splash skipped (software display).🤖 Generated with Claude Code
Imported from brcly/TuxBox. Originally posted by brcly on 2026-11-29T12:02:55Z.
Just need you to rebase, then I can merge.
Imported from brcly/TuxBox. Originally posted by NickStallman on 2026-11-29T12:21:31Z.
Rebased onto
6e2c5dabasc204da6e.check --no-gpupasses on it. The GPU results in the description are for the version before #455; I've queued the Lanes case and both full checks on the new head and will post them, so you can merge now or wait for that.Imported from brcly/TuxBox. Originally posted by NickStallman on 2026-11-29T12:42:33Z.
Both full checks passed on
c204da6e: RTX 5090 187 pass, 0 fail; AMD iGPU 186 pass, 0 fail (one skip:guest-present-4k-splash, software display). Ready when you are.