upleb.uk

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

summaryrefslogtreecommitdiff
path: root/runtime/src/bcpack.cpp
diff options
context:
space:
mode:
authorstar41905453-coder <star41905453-coder@users.noreply.github.com>2026-11-25 23:30:33 +0000
committerstar41905453-coder <star41905453-coder@users.noreply.github.com>2026-11-25 23:30:33 +0000
commitc5359a4644767aa2780aec18576ae6b5c4d67826 (patch)
treee58d58457c7216fdf5bc0f3bd94979218ff81115 /runtime/src/bcpack.cpp
parent04290dd2d12e027ddfbd82ea6e482999610f279f (diff)
d3d12: the window write-back waits for the submission that wrote (RT-TITLE-WINDOW-WRITE-BACK)
The first cut copied the reached ranges back at the next refresh whether or not the submission that wrote them had finished, so a range the GPU was still filling could be read half done. A batch is now kept with the retire ticket of the submission that will use it, and the ranges are copied back only once the context reports that ticket done. Anything not yet retired stays queued and is copied on a later refresh, still before that refresh's forward copy, so the ordering that keeps the title's own newer bytes is unchanged. The test is unchanged and still passes: it asserts the pages are untouched until the next submission and then hold exactly what the shader wrote.
Diffstat (limited to 'runtime/src/bcpack.cpp')
0 files changed, 0 insertions, 0 deletions