binary-archive-mesh-adder's cost record held only "a call did not answer,
at program": the case could not make its mesh pipeline until adadb73f7c
gave BinaryArchive add_mesh_render_pipeline_functions. It now
translates the mesh stages, and the M3 cost gate at 7470a49e6d
(orchestrator, m3-max-4060) read linked_use_questions_asked 4,
pipeline_layouts_made 1, shader_modules_made 4, stage_entries_shared 4
and stage_entries_specialized 2 as "now gated, none in the record".
mesh-pipeline-reflection-object-stage runs after it in the case set and
uses the same mesh stages. Before adadb73f7c it was the first case to
translate them; now binary-archive-mesh-adder translates them first, so
this case shares what it made before. The gate (and the whole M3 replay,
m3-max-4082) read the result: pipeline_layouts_made, shader_modules_made
and stage_entries_specialized went to none, and stage_entries_shared went
from 22 to 24 (the two specialized entries are now shared hits). This is
the selection's order and not redundant work: the second case reuses what
the first one made.
Job m3-max-4146 on the M3 Max (MoltenVK), at c0d0511d68, for the two
cases:
conformance cost --runs 8 --show A B (before writing)
conformance cost --runs 8 --alone --show A B (before writing)
conformance cost --runs 8 --write A B
conformance cost --runs 8 --alone --write A B
each exit 0, both cases measured. In the pair's order,
mesh-pipeline-reflection-object-stage read stage_entries_shared 24 and
made no layout, module or specialized entry, which is what the gate saw.
Alone it made pipeline_layouts_made 1, shader_modules_made 4 and
stage_entries_specialized 2, with stage_entries_shared 22, which is its
old record. The contrast writes stage_entries_shared and
stage_entries_specialized into the case's composed counts, as the
selection decides them, and pipeline_layouts_made and shader_modules_made
into its ceilings. binary-archive-mesh-adder reads the same in both shapes.
A replay of the two cases in the same job was exact. A replay of a
selection judges no cost, so the whole-set gate on development is the
check for that part.
(cherry picked from commit 7af8be21f11e441aeb3ad4677c0429b80ced4a43)