Files
metal2vulkan/docs
Anees Iqbal 0ee01c4eda replay: the host's library from source is made of the stream's display library sidecar
webdiv-780m-3's record 11498, newLibraryWithSource:options:error: on the
device with no arguments, is reims's host loading its own display shaders.
The players skipped every library from source, and with it the host's 773
present draws, so both plays of webdiv-780m-3 ended as no verdict. A
program's own libraries reach the stream as data, never as source.

The decided form is a sidecar beside the stream, NAME.display.metallib, like
NAME.range:
- command-replay reads the sidecar (replay::display_library) and gives it to
  either backend (with_display_library).
- The report says so in the line after `range`: `display library the
  stream's sidecar, N bytes`, or `display library none: the host's library
  from source is skipped`.
- Both players make a library from source of no arguments from the sidecar,
  as from data. Any other library from source, or one without a sidecar,
  stays skipped and counted.
docs/REPLAY-STREAM.md sections 1 and 10 state the sidecar and the line.

Tests:
- An integration test reads the line without the sidecar and with a 5-byte
  one; the range test's line positions follow the new line.
- A device test makes a function of the host's library with the display
  library and skips both without it.
Verified by the lane check named in the hand-over.
2026-11-18 18:07:35 -08:00
..