upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/src/thread_stacks.cpp
diff options
context:
space:
mode:
authorNotRexed <therealnothingfn@gmail.com>2026-11-30 18:57:51 -0500
committerNotRexed <therealnothingfn@gmail.com>2026-11-30 18:57:51 -0500
commit71282aca796c186eef61943d41dda4706dd43b10 (patch)
tree3067064fc87bf9654cc2f46f2aee2337021b8f0e /runtime/src/thread_stacks.cpp
parent398c085c4564a66096b2547c09a651837e3457d2 (diff)
Copies at their place hand their buffers back to the common state
HostList::place_copy left the host copy it wrote promoted to COPY_DEST, a write promotion that holds to the end of the ExecuteCommandLists call: a root view of the buffer later in the same list (the indirect clamp, a batch) and the compare sent with the lists could not promote it again (the debug layer's message 538, "COPY_DEST (promoted from COMMON state) ... invalid for use as a root shader resource", 369,094 times in one run on an RTX 5070 there). The destination now goes back to COMMON after the copy, and where source and destination are one host copy, the source side goes back to COMMON before it is copied into. After TaynanGT/Vice-Tay 6ca29bc1 ("place: copies at their place hand their buffers back to common"), from upstream Belobug#425 by MamaLeVrai (GPL-3.0-or-later), written into Leonida's place.rs. AI-assisted (Claude). Tested on RTX 4060 Ti 16 GB, driver 616.64: cargo check of leonida-gpu with diagnostics; host::place tests. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/src/thread_stacks.cpp')
0 files changed, 0 insertions, 0 deletions