diff options
| author | star41905453-coder <star41905453-coder@users.noreply.github.com> | 2026-11-25 23:30:33 +0000 |
|---|---|---|
| committer | star41905453-coder <star41905453-coder@users.noreply.github.com> | 2026-11-25 23:30:33 +0000 |
| commit | c5359a4644767aa2780aec18576ae6b5c4d67826 (patch) | |
| tree | e58d58457c7216fdf5bc0f3bd94979218ff81115 /runtime/src/pe_loader.cpp | |
| parent | 04290dd2d12e027ddfbd82ea6e482999610f279f (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/pe_loader.cpp')
0 files changed, 0 insertions, 0 deletions