This commit is contained in:
Timon committed 2026-12-05 00:13:57 +00:00
1 parent 2cb2dd31fc
commit 3f5ed7909d
1 file changed
+3
@@ -483,8 +483,11 @@ impl AdjustmentUploads {
let index = self.tables.iter().position(|cached| cached.key == key);
let parked = index.map(|index| self.tables[index].uploaded.as_ref().map(TextureWeakRef::upgrade));
let tables = match parked {
// Failed to upload
Some(None) => return Vec::new(),
// Parked
Some(Some(Some(tables))) => Some(tables),
// Not parked
Some(Some(None)) | None => {
// As many texels as one texture holds and one upload carries
let limits = executor.context().device.limits();