Metal makes a render pipeline whose fragment function reads a user varying at
another component count than the vertex function writes when the vertex
function's module states agx.allow_mismatched_component_counts as 1 (Apple M3
Max, macOS 27.0.1, job m3-max-87508; float4 written and float2 read, and float2
written and float4 read; refused at 0, with no flag, and with the flag on the
fragment module alone; irc.version_* changed nothing). Link answered every such
pipeline Unsupported{UnmatchedVarying, NotRepresentable}, Metal's link error,
for a pipeline Metal makes.
- AIR: module_flags returns whether the agx flag is 1, and the decoder sets
EntryPoint::mismatched_component_counts on each vertex (post-tessellation
included) and mesh function the module defines; fragment, kernel and object
functions never carry it. The flag's docs state the probe's facts.
- Lowering copies it to StageIo::mismatched_component_counts.
- Link (varyings, mesh_fragment): a fragment input whose type differs from
its producer's output in component count alone (same numeric class and source
width), behind a producer carrying the flag, is
Unsupported{UnmatchedVarying, NotImplemented}; everything else stays
NotRepresentable. A mesh producer is not probed yet, so it stays the typed gap.
- Feature::UnmatchedVarying's doc says both; reach.tsv marks it rare;
docs/REFUSALS.md regenerated (it also drops TextureSwizzle's four translator
sites, which a49e4a61c4 and its neighbours removed without a regeneration).
- SEMANTICS_VERSION 2393 (a refusal's class and an interface fact change;
2392 is PR 30's and its fix-forwards', pin AB').
Verified: the red tests of 7285b878a1 (red in job m3-max-87576) pass here;
the green job is named in the lane's report.