29d3ebb22e is metal2vulkan's development: one commit on 0175289314 whose
tree is development-fast c66863112e's. It fixes what 0175289314 broke here:
- An image's first move wrote its kept bytes back over the host's pages
unconditionally, so on read-only pages it raised SIGBUS (7 Vulkan tests on
the Mac) and hung the Mac's Vulkan boots of arm64 macOS 26 and 27 under
QEMU. It now writes back only the bytes the move changed, and only where
the pages are writable.
- A no-copy buffer released with a keep-alive under a live buffers' table
announced host-deallocator-delayed, which dies by default, so a cold
x86-64 macOS 26 boot on Intel (ANV) died. With a keep-alive the
deallocator now runs at the release, unannounced.
Two new kinds go in DIES (strict mode dies, the default relays): each lets a
value Metal's never gives reach the guest, and each has an exact form the
hardware allows, so a native device does not relay them either.
- UnrestoredFirstMoveBytes: a first move's changed byte on pages the host may
not write, left as the move wrote it. Not among DIES_BY_DEFAULT: the
driver's move writes the bytes, and no run has met it.
- The note TessellationTriangleOrder: the device tessellator's triangle
order, on every device but MoltenVK on an Apple GPU. A patch draw there now
dies of it first, ahead of TessellationFactorEdgeCases, so the two
patch-draw tests expect the kind the device's tessellator decides.
HostDeallocatorDelayed's doc and the ledger's padded_reads row say what the
runtime now does.
For the guest and the host: x86-64 guests boot on Intel again, and the Mac's
Vulkan path boots again. In strict mode a patch draw off Apple's GPUs dies of
the tessellator's note.
Checked at c66863112e, the same tree: cold boots of x86-64 macOS 26 on the
780M and Iris Xe and of arm64 macOS 26 and 27 on the Mac's Vulkan path, with
no fatal line; Vulkan and core tests 2711/2711 on both Linux hosts; the
Mac's cargo xtask check, whose only failures pass run alone.