d3d12: give the narrowed-write check a readback buffer of its own #468
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/468"
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-29T11:56:53Z.
Summary
The narrowed-write check (
TUXBOX_CHECK_NARROWED, #460) records its copy through the queue's shared readback buffer (#439). That buffer is handed out "in use or not", because the queue waits for each publication; nothing waits for the check's copy to be read, so a later copy, including the same batch's publication, can overwrite it. The check can then report a change that didn't happen, or miss one.The check now takes a buffer of its own (
Readback::record_alone). Normal play doesn't reach this: it is off unless the variable is set.Tested
python tuxbox.py check --no-gpu: passed on the version before the rebase onto62fc10c1(65c4a631); the GPU checks below are queued for65c4a631.submitpicks, which needs a device, so there's no failing test. A build with the same change (and others) ran the check mode in ProjectScarlett on an RTX 5090 (about 50 s of the world):changed=0over 7,966 mips in 11 batches.tuxbox.py checkon65c4a631: RTX 5090 (620.70.10) 187 pass, 0 fail (a first attempt on the 5090 timed out intranslated-meshwhile the machine was at load 40 from a cold shader compile; the rerun passed); AMD iGPU (RADV) 186 pass, 0 fail, guest-present-4k-splash skipped.🤖 Generated with Claude Code