Files
metal2vulkan/scripts/refusal-surface
Anees Iqbal ad09d74961 Stage input: an indexed step fetches at any step rate, as Metal reads it
What: a kernel [[stage_in]] layout of an indexed step
(ThreadPositionInGridXIndexed or ...YIndexed) at a step rate past 1 is
now fetched: the thread's position on the axis divided by the rate,
clamped to the stage-in region's last element, looked up in the index
buffer, plus the region's origin. Step::Indexed carries its rate, and
the grid and indexed steps share stepped_position, the one division.

Why: an M3 Max read index[min(x / rate, size - 1)] plus the origin at
rates 2 and 3 (job m3-max-68668), so the refusal guarded a measured
answer. The runtime's Gap::StageIn of IndexedStepRate and the
translator's Feature::KernelStageIn refused it; both had no other site,
so both variants are deleted. Consumer search for the runtime variant:
`git grep -n -w IndexedStepRate development -- '*.rs'` in the consumer's
checkout at 40c2b1abeb has 6 hits, all in its refusal-label table and
the test that expects this refusal (rt_platform/diag.rs 8, 3079, 3088,
3094; rt_platform/compute.rs 1246, 1382), which change with this
answer; Feature::KernelStageIn has 0 hits there.

Also: SEMANTICS_VERSION 2350 -> 2351 (the modules of an indexed fetch
past rate 1, and a refusal gone). docs/REFUSALS.md regenerated
(refusal_surface.py) after reach.tsv lost the feature's row; the
signature table blessed (two variants out). The runtime README, the
encoder's and pipeline's docs and the gap's docs say the indexed
element at any rate. runtime-sources.sha256 unchanged (pin-compute,
a92fe0a8...).

Verified here: signatures.py --bless moved only the two variants; the
refusal surface regenerated with 0 variants unmarked. The red tests of
the commit before this one, and clippy, rustdoc and the suites, run in
the jobs the lane's report names.
2026-12-03 07:46:03 -08:00
..