Files
metal2vulkan/crates/metal2vulkan-validation/tests/integration
Anees Iqbal 175706d3f2 The executor classes buffer lengths under the device's range limits, as the runtime does
What: views_told_apart takes the device's BufferRanges and sets every stage table's
buffer_ranges to them, so the executor's bind states state the length class the runtime's
states of the same binds state (RUNTIME 2412 rounds a buffer's class under
BufferRanges::of(limits); the executor kept the defaults, which tell every class apart). The
compute, render and mesh builders (bind_state, compute_shape, graphics::bind_state,
render_shape, mesh_shape) take the ranges; the executor passes its device profile's limits
(case_compiles from the worker device, platform run/execute from the opened device), the
runtime-lane tests their compile device's, and the unit tests the defaults. ENGINE_EXECUTOR_ABI
goes to vulkan-engine-v183: every executed artifact whose plan binds a buffer changes digest.

Why: a BindingPlan states its bound length class (BoundKind::Buffer), so the runtime path's plan
digest differed from the executor's and from the authored compile census's on every device:
candidate::engine::runtime_run's parity (run.census.artifact == on_context.census.artifact)
and runtime_lane::executions' plan digest check failed on lavapipe and the Iris. With both on
the device's ranges the executions test is back to its single digest equality, and the earlier
split of compute_state for its decision-only comparison is folded back.

The authored compile census owes a re-bless after this landing (executor ABI and digests
change); it is re-blessed once, at the next pin sha.

Verification: a lavapipe (cpuicd) job runs the three runtime_run tests, executions, and the
touched engine, graphics, public_cases, argument_buffer_members, worker::compile and
runtime_lane suites, plus a negative control (views_told_apart on default ranges) that must
fail the runtime_run parity; results go to main with the job id.
2026-11-15 21:43:46 -08:00
..