Files
metal2vulkan/crates
Anees Iqbal 3e0df2df8c runtime lane: a draw into a pass plays through the replay player on the new runtime
A device test of the player's rt backend, the first one: a stream it writes
makes a render pipeline state of the render library's colored_vertex and
colored_fragment (a metallib of runtime_examples.ll), a 4x4 RGBA8Unorm
target, vertex buffers, and a pass whose setter records clear the target to
red. It draws one triangle over the whole target, green. A blit copies the
target to a Shared buffer, which the stream checks green. The play must
report no skipped encoder, render state, draw, call or object, and at least
one pass.

Without the render port it fails. The backend skipped the render encoder
whole (skipped_encoders 1), so the target stayed red and the check differs.

The new runtime's device is opened behind the hang tripwire, as every device
open in the crate is, and keeps its kernels in a cache the test owns.

Verified: the lane leg under --cfg m2v_gpu on the lab's devices and
lavapipe.
2026-11-18 03:14:47 -08:00
..