The suite compares only what Metal defines: where MSL leaves a
derivative undefined, Metal's answer is no contract, and a recorded
match would make a device's luck a contract. The class rule says a
derivative is undefined after an early return inside a selection, after
a break or continue to a construct around the innermost one, and inside
a construct a quad entered diverged. Draw by draw:
Kept (defined):
- rc_if: after an if/else that closed; every lane of the quad arrives.
- rc_loop: after a loop of the pixel's own trip count, exited through
the loop's own merge.
- rc_break: after a break to the loop's own merge.
- rc_switch: after a switch of one label per case that closed.
- rc_discard: after a discard, which Metal runs as a demote, so the
discarded lane stays a helper for the quad's derivatives.
- rc_grid: inside selections and a loop uniform over 8x8 blocks, so
every quad runs them together.
- rc_continue_quad: the continue goes to the loop's own continue target,
not to an enclosing construct; the sample is in the next iteration,
which every lane enters together after the loop's back edge.
- rc_latches: after an if/else whose two arms both end the iteration;
the sample is in the next iteration, as above.
- rc_select, rc_select_quad, rc_pick, rc_pick_cells: inside a selection
uniform over 8x8 blocks; only the texture chosen differs per pixel or
per 4x4 block, and MSL's default allows a non-uniform choice.
Dropped (undefined):
- rc_return: after a callee's early return inside a selection.
- rc_continue: after a continue from inside a switch to the loop around
it, which is a continue to an enclosing construct.
Both matched Metal on every card the lane ran; that stays lane evidence.
rc_return_entry and rc_diverged were already left out for the same rule.
The earlier count of 15 counted the cases where the Metal-defined bar
applied as the lane first reported them. Under the class rule the suite
holds 12 draws: 8 constructs and 4 handle choices.
reconverge_sample drops the two entries and the callee rc_return used,
recompiled by scripts/regen-air-fixtures; its four inventory rows go too.
reconvergence-constructs' recording is removed here, and a new recording
comes in the next commit. reconvergence-handle-choices' inputs did not
change, so its recording stays.