The planner's rulings on the lock budget and the alternations:
- The bound is one value on every device, 0.25 locked instructions per added command, for
draws, bound draws and dispatches: a site of rt's that runs per command adds 1 or more, and
the drivers' own growth stays far below it (measured: Iris Xe 0.0195 / 0.1425 / 0.0285 at
most, RX 7900 XTX 0.0000 / 0.0015 / 0.0050, RTX 2080 0.0005 / 0.0000 / 0.0175).
- Each budget test prints its measurement as a matrix record, `locks lock_budget/<kind>`, per
million added commands (none below 0), beside its LOCKS line. The matrix fails a GPU leg
missing any of the three where the node's setup names M2V_LOCK_EVENT (results.LOCK_BUDGET,
names_lock_event, lock_budget_missing; keyed on the setup, not on a card), for a commit that
has the budget; elsewhere the budget prints LOCKS-UNMEASURED and passes. The note carries the
three values per leg. docs/VALIDATION.md's records table has the kind.
- Building::begin borrows the device's core where it took an Arc<Core> it dropped after the
start timestamp; the compute and render encoders hold an uncounted borrow of the recording's
core (kept::Uncounted, the kept handle's pattern for an Arc), valid while the encoder holds
the recording, which it does until it ends. Two locked instructions fewer per encoder and one
pair fewer per segment.
Verified: scripts/matrix's unittest suite (47 tests, a new one for the event and the missing
records).