Files
metal2vulkan/crates
Anees Iqbal d06e4b56db conformance: the new runtime's side makes the wait from a command buffer's own handler
The three handler-waits rows read "never-returned" in 49672 (f82dd9c768, lavapipe) without
running rt at all: rt_side left Side::handler_wait at the trait default, which answers
Unavailable("handler_wait"), and an Err where Metal never returned is the compliant verdict. So
these rows covered nothing of rt's.

- rt_side::handler_wait makes the shape as the old runtime's side does (runtime_side.rs): a
  command buffer with one 64-byte fill, whose scheduled or completed handler waits on that same
  command buffer and sends back what the wait answered; the side's own wait for the command
  buffer and for the answer are each bounded (WAIT, 60 s), so a wait rt neither refused nor
  returned from reads as never returning instead of hanging the suite.
- rt answers at once in each: a wait in a scheduled handler is Refusal::InScheduledHandler; a
  completed handler's waitUntilCompleted on its own command buffer returns, the command buffer
  being complete. The planner ruled that answer kept (no rt change), so known-gaps-rt.tsv holds
  handler-waits-completed-until-completed on every venue as an accepted difference, quoting
  Apple's sentence for waitUntilCompleted, and rt's wait_until_completed doc names where Metal's
  call never returns.

Verified: nothing yet; conf-check.sh (clippy x3, the conformance tests, and a lavapipe replay of
the three cases) follows.
2026-11-18 23:50:58 -08:00
..