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:
1 parent
47ae1737c2
commit
350f7f492b
7 files changed
+738
-23
No files matched your search
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user