Files
metal2vulkan/crates
Anees Iqbal 0cdcb67aef Validation: MoltenVK's uncontained robust-buffer forms are deleted
374061b156's message says coverage's MoltenVK host class serves a live
path. That is wrong. HostClass::robust_buffers_uncontained returned forms
only for VK_DRIVER_ID_MOLTENVK. out_of_bounds::uncontained read it to
refuse an out-of-bounds case before a candidate run. No candidate run
opens MoltenVK now:
- every run passes validate_backend_host (engine::execute_prepared),
  which refuses Vulkan candidate execution on macOS;
- check_backend refuses a context that opened MoltenVK.
corpus-pipeline, the one live Vulkan path on macOS, runs no
out-of-bounds case. So the forms were always empty. No committed
refusal and no authored-compile cell names one: git grep for
"uncontained" in corpus/ finds nothing.

What goes:
- coverage's RobustBufferForm, ExecutionClass and HostClass's
  robust_buffers_uncontained, and the module doc's limitation paragraph;
- out_of_bounds's Mechanism::robust_buffer_form and uncontained();
- NotSupported::Uncontained's forms field, its label's form part, and
  its "the device leaves these forms uncontained" display arm. The labels
  a run can produce are unchanged: unchecked forms and the runtime's
  variant;
- the class parameter of engine::out_of_bounds_run,
  draw_out_of_bounds_run, runtime_bounds::contained and drawn, which only
  fed uncontained(). runtime::execution_class is private now; the
  census still records the class;
- profiles/README.md's pointer to the deleted method. Its account of
  what moltenvk-m3 states and MoltenVK does stays.

ExecutionClass and HostClass stay: a run's census records them.

Tests: the two MoltenVK containment tests go. So do the
robust_buffer_form assertions in three containment tests. The refusal
class and bless round-trip tests build Uncontained from an unchecked
form. The census round-trip test records a RADV host (driver id 3)
instead of MoltenVK.

Verified: not yet compiled; the next gate covers it.
2026-11-20 22:27:13 -08:00
..