Title buffer copies stand where the list has them (VICTORY_COPIES_IN_PLACE)

On by default. They were all done on the CPU when their submission was
prepared, ahead of its first draw: of copy, draw, copy, draw both draws read
the second, and a source a shader writes earlier in the submission was read as
it was before. The list copies now, in the destination's host copy, out of the
source's host copy where shaders write it, else out of upload memory filled at
submission; copies into textures take what shaders wrote too. Title memory and
the reference of the host copy take the bytes at submission as before, so the
landing finds only what the card made of them.

VICTORY_WINDOWS_OWN=1 (off): windows have two sides as well.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
localandClaude Opus 5.5 committed 2026-11-25 00:29:19 -06:00
1 parent 193f50fe5a
commit ebd9d33b72
7 files changed
+738 -23

No files matched your search

+6
View File
@@ -3046,6 +3046,12 @@ impl State {
}
}
/// A buffer was copied to: what was clamped of it ahead is clamped anew.
pub(crate) fn copied(&mut self) {
self.window = None;
self.batch = None;
}
/// The title waits for earlier work (a barrier or a pipeline sync).
pub(crate) fn synced(&mut self) {
if self.batch.as_ref().is_some_and(|b| b.wrote) {