The heaps' records are brought up to date beside the preparing (VICTORY_HEAP_SYNC_ASIDE=0); a made slot is told without the lock (VICTORY_QUICK_MIRROR=0)
Changed pages are compared sixteen records at a time. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
d4943c43fb
commit
30317314af
3 files changed
+201
-20
No files matched your search
@@ -4852,7 +4852,7 @@ impl Host {
|
||||
}
|
||||
// Descriptors the title copied into placed heaps directly, before
|
||||
// command lists that index those slots are submitted.
|
||||
crate::descriptor::sync_heaps();
|
||||
let heaps_synced = crate::descriptor::begin_sync_heaps();
|
||||
// That list runs first, and is one of the submission's from here on.
|
||||
let with: Vec<&HostList>;
|
||||
let runs = match &own {
|
||||
@@ -4885,9 +4885,6 @@ impl Host {
|
||||
SWEPT.store(now_ms(), Ordering::Relaxed);
|
||||
}
|
||||
let behind = late && flying();
|
||||
// The slots that waited for a texture's host copy, before the
|
||||
// lists that may read them run.
|
||||
crate::descriptor::make_waiting();
|
||||
let this_submission = STARTED.fetch_add(1, Ordering::AcqRel) + 1;
|
||||
// The ranges shaders write are counted for it (with the relay).
|
||||
crate::shadow::preparing(this_submission);
|
||||
@@ -5019,6 +5016,12 @@ impl Host {
|
||||
split.part(5);
|
||||
let back = crate::picked::with(declared_writes(runs), &picked.written);
|
||||
let writes = runs.iter().flat_map(|l| l.deferred().writes.clone()).collect();
|
||||
drop(heaps_synced);
|
||||
// The slots that waited for a texture's host copy, before the
|
||||
// lists that may read them run.
|
||||
crate::descriptor::make_waiting();
|
||||
#[cfg(feature = "diagnostics")]
|
||||
split.part(15);
|
||||
SUBMISSION_US[0].fetch_add((prepared - started).saturating_sub(settled).as_micros() as u64, Ordering::Relaxed);
|
||||
submitting(0, 0);
|
||||
#[cfg(feature = "diagnostics")]
|
||||
|
||||
Reference in new issue
Block a user