The recorder now writes four things a player must read:
- m2v.commitPart answers `cut`: "Cut" where the host committed the command
buffer as a part, "Fails" or {Whole: reason} where it committed nothing. The
player commits only at "Cut", or where the answer is absent, as before.
- The pass descriptor's setters write object 0 for an object property set to
nil (visibilityResultBuffer, rasterizationRateMap, texture, resolveTexture);
nil still means left as it was. The old runtime's backend clears the
property at object 0.
- newBufferWithDescriptor: of a buffer copied from host memory carries its
starting bytes as the descriptor's `contents` (a blob or inline bytes). The
player makes the buffer with the contents nil, then puts the bytes at its
first byte as a write's: relocated where it answered a gpuAddress, counted
in written_bytes.
- `gpuResourceID` records carry the ID the program saw of a texture, sampler,
depth-stencil state, pipeline, ICB or function table. The player compares
each object's first answer with its runtime's ID (Backend::resource_id) and
reports each object where they differ as `id #OBJ RECORDED PLAYED`.
docs/REPLAY-STREAM.md carries the spellings. Each addition has a synthetic
stream test on the player's mock backend, and the old runtime's backend has
two device tests (an attachment set to nil left untouched by its pass; a
copied buffer reading back its contents, with a placed texture's ID matching
and an unplaced one's reported).