First uploads of textures picked by index run on a copy queue of their own, their slots show them when they have (VICTORY_UPLOAD_AHEAD=1; off); blips found while the camera moves

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
localandClaude Opus 5.5 committed 2026-11-25 10:50:14 -06:00
1 parent af0013dd76
commit 1cfc476831
7 files changed
+654 -21

No files matched your search

+3
View File
@@ -15,6 +15,8 @@
//! (directly indexed views are not known per draw); plane 0 is uploaded
//! (every mip and array slice), depth and stencil planes are not.
pub(crate) mod ahead;
use std::collections::HashMap;
use std::sync::{Arc, Mutex};
@@ -745,6 +747,7 @@ pub(crate) fn upload_from(list: &HostList, resource: This, first: u32) {
return;
};
let texture = &copy.texture;
ahead::listed(&copy);
let Some(staging) = staging(resource, &copy, first) else {
return;
};