Files
metal2vulkan/crates
Anees Iqbal d4d1b5ff05 rt README: the no-copy imports have no read-only form; the ledger lists Metal's bit 24 as that gap
The planner's ruling on Metal's private read-only no-copy option (bit 24 of MTLResourceOptions):
no options word, no new Gap. Instead, one README sentence in Imported blocks and a ledger row
citing it.

Each clause was checked before it was written:
- import_host_memory's safety contract takes "host memory mapped readable and writable"
  (import.rs).
- Vulkan's host-pointer import (VkImportMemoryHostPointerInfoEXT: sType, pNext, handleType,
  pHostPointer) and its fd import carry no access of their own; the spec's Host External Memory
  section defines no read-only import.
- MTLResource.h's MTLResourceOptions has no bit 24: its fields are the CPU cache mode at shift 0,
  the storage mode at 4 and hazard tracking at 8.
- Over imported pages a GPU write reaches them (the import is the pages, no copy), where Metal
  drops it (host_pages.rs, the M3 Max recordings).

The rows: host-page-writes-kernel-store-read-only and host-page-writes-visibility-read-only, both
refused at case/host-buffer with the Side's Unavailable naming the call with bit 24, venue *. The
same answer was held on all eight runs: lavapipe m3-max-52171; XTX, 2080 and 780M m3-max-52173;
780M and 3090 m3-max-52172; Iris Xe m3-max-52174; RX 550 m3-max-52305.
2026-11-19 07:05:23 -08:00
..