Files
metal2vulkan/docs
Anees Iqbal 66ea975bdb Take a command buffer's tracked uses as its writes, whatever the logs collected
The standing let go of every shadow at each command buffer whose uses the
device's logs of host pages did not collect (`unnoted`), taking that as a
command buffer that may reach memory no use names. But `unnoted` only
says no log or copied host buffer lived to collect them (`note_dirty`):
the tracker's summary of every encoder holds its tracked uses either way.
So on a device with no logs every command buffer let go of every
standing, and none ever held (M3 job m3-max-1916: the second read of the
Private plane skipped no copy in).

Only `State::reaches_unnamed` (a root table, work resolved from records)
lets go of all now. A shadow over a buffer whose own uses are untracked,
whose writes no summary holds, never stands: the plane's texture takes
its descriptor's tracking, not the buffer's. The module docs and the
API.md catalogue entry say both.

Verified: runs next on the M3, with the negative controls.
(cherry picked from commit dcc32875db5aee8a8903ef9443235edce8de97cf)
2026-11-05 13:14:47 -08:00
..