Merge local/world: fork main 8dd30ab (every view of a page is guarded)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
commit
ab71750898
23 files changed
+4164
-221
No files matched your search
@@ -864,6 +864,9 @@ extern "system" fn copy_resource(this: This, dst: This, src: This) {
|
||||
// Depth textures shaders also write: what they wrote, first.
|
||||
list.twin_use(dst, false, true);
|
||||
list.twin_use(src, false, false);
|
||||
// A destination made level by level gets its levels' memory
|
||||
// ahead of this list (`crate::tiles`).
|
||||
crate::texture::card_writes(list, dst, to, None);
|
||||
ensure_state(list, dst, COPY_DEST);
|
||||
ensure_state(list, src, COPY_SOURCE);
|
||||
crate::texture::host_written(dst);
|
||||
@@ -997,6 +1000,11 @@ extern "system" fn copy_texture_region(
|
||||
// A depth texture shaders also write: what they wrote, first (the
|
||||
// source above too).
|
||||
list.twin_use(dst.resource, false, true);
|
||||
// A destination made level by level gets the level's memory ahead
|
||||
// of this list (`crate::tiles`): the title's bake copies each level
|
||||
// of its result into a block-compressed texture of that kind, and
|
||||
// a copy into a level without memory is dropped.
|
||||
crate::texture::card_writes(list, dst.resource, to, Some(dst.footprint.offset as u32));
|
||||
ensure_state(list, dst.resource, COPY_DEST);
|
||||
crate::texture::host_written(dst.resource);
|
||||
let mut to_location = dst;
|
||||
@@ -1150,6 +1158,8 @@ extern "system" fn resolve(
|
||||
// Depth textures shaders also write: what they wrote, first.
|
||||
list.twin_use(dst, false, true);
|
||||
list.twin_use(src, false, false);
|
||||
// As for a copy (`crate::tiles`).
|
||||
crate::texture::card_writes(list, dst, to, Some(dst_sub));
|
||||
ensure_state(list, dst, RESOLVE_DEST);
|
||||
ensure_state(list, src, RESOLVE_SOURCE);
|
||||
crate::texture::host_written(dst);
|
||||
|
||||
Reference in new issue
Block a user