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:
1 parent
d1c412c57b
commit
350c686481
7 files changed
+654
-21
No files matched your search
@@ -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 = ©.texture;
|
||||
ahead::listed(©);
|
||||
let Some(staging) = staging(resource, ©, first) else {
|
||||
return;
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user