Files
reims-vgpu/docs
Anees Iqbal c1f0bf13c1 🔥 Zero every rt block where Metal owes zeros, rt saying none is
metal2vulkan development bf55e38ee3 enables VK_EXT_zero_initialize_device_memory
on no device and drops BlockInfo::zeroed: the runtime writes every zero itself,
where new_buffer's zero_from asks for them. So every block counts as unzeroed.

- The pool's take workers zero each carve whole, but for the bytes the zeroer
  zeroed after an earlier free (pool-take-zero-skipped-prezeroed-bytes stays).
- A buffer or heap in a block of its own is zeroed: zero_from Some(0), a Shared
  heap and a Managed buffer's bytes through the mapping, a Private heap by rt's
  fill. A buffer pinned in a known block passes its zero_from as asked.

Gone with the fact: the pool's BlockInfo::zeroed, the codes
pool-take-zero-skipped-bytes, rt-zero-skipped-private-bytes and
rt-zero-skipped-shared-bytes, and the Placed mark, its module and the known
blocks' marks, which only the skip read. The tests that held the skip now hold
the zeros: a take over a given-back carve and past it zeroes all of it, a pinned
Private buffer reads zero at each placement, and the scratch test counts rt's
zeros alone. The guest's bytes read zero as before.

This builds only against bf55e38ee3 or later, so it lands with that pin.
2026-11-19 18:05:50 -08:00
..