Files
metal2vulkan/crates
Anees Iqbal e35a85e725 No-copy buffers keep what their pages were made of, and a making names who it makes
No change in behaviour; the plumbing a no-copy buffer's carry rests on.

- HostParts is clonable. A no-copy buffer's pages (not a heap's own) keep the
  parts of the caller's memory they were made of (HostPages::made_of), at
  making and at each rebind: what a recovery makes the buffer again of on the
  next generation.
- buffer_over_host_memory resolves its release and hands over to
  buffer_over_host_parts, which a carry calls with the parts kept.
- Naming says who a making makes: a new buffer, or a buffer a recovery carries,
  whose ObjectId, identity and attributes it keeps. It goes through
  BufferParts, buffer_in_import, copied_buffer and buffer_lying. Every other
  making names a new buffer.

Verification: none yet. Builds and tests come with the carry that uses it.
(cherry picked from commit 0417e783cc14a6bed17a54fac07df00075a48862)
2026-11-09 06:01:13 -08:00
..