Files
metal2vulkan/docs
Anees Iqbal 3e9cd15b0a Player: a release of an object its device's release dropped plays as nothing
Metal's objects keep their device, so a program may release its device before what it made: a
guest recording's last two calls release the device and then the host's display library made on
it. The player drops everything a device made at the device's release, and the library's release
that followed found no object and stopped the play as an invalid stream, after every frame had
played. The player now keeps the ids a device's release dropped, and the stream's own later
release of one removes it from that set and plays as nothing; the backend released it once,
with the device. Ids are never reused (docs/REPLAY-STREAM.md, section 4), so the set holds only
objects whose release may still come. A second release of such an object, or the release of an
object no call made, still stops the play.

Verified: an_object_released_after_its_device_plays_as_released_with_it and the replay tests in
the job named in the lane's report; no local build.
2026-11-23 08:59:40 -08:00
..