What: the word scan (check::output_words) now follows a fragment case's render target to the
colour its entry returns for that attachment, as it already followed a kernel's output buffer to
its stores. Before, every render-target word was fed by Family::Unknown, so every recorded note
reached every word of every fragment case by fall-back.
How:
- The scan records a fragment entry's returned value by field (Stores::returned): the
families of each lane of each field, joined over its returns. Where a return or a
air.discard_fragment sits in a block that does not post-dominate the entry, every lane is also
fed by every branch condition, as a conditional store is.
- A render target's words (render_target_words): each channel of a texel takes the families of
the lane of the returned colour it holds (every lane where the colour has fewer lanes than the
format has channels), with those of the entry's other live outputs that decide whether or how
the write lands: a depth, a sample mask, a stencil reference, the second blend source. The
facts repeat every texel (every word for a texel under four bytes); the word's lanes still come
from the target's format. A target with no live colour from the entry (an imageblock writes
it), an attachment index that is not a constant, a vertex case's observed render target, and a
returned value the scan does not follow keep the fall-back.
- air.quad_is_helper_thread and air.simd_is_helper_thread feed Family::Group: whether a thread is
a helper is its place in its quad, which FragmentSimdgroupGrouping and QuadsSplitByClipping
concern. They fed Family::Unknown before.
Tests (check::output_words::tests): a_render_targets_words_take_the_returned_colours_operations
(the public case unclamped-and-clamped-lod-of-a-texture-selected-per-quad: red and green fed by
the texture queries and the position, blue and alpha by nothing, so a texture note reaches the
first two words of a texel and NativeDot none) and
a_helper_query_and_a_discard_feed_a_render_targets_words (helper queries and quad ballots feed
Group alone; a discard the position decides adds the position and its arithmetic). Both read
every word as Unknown without the change.
ENGINE_EXECUTOR_ABI is v216: rows record different word facts for fragment render targets, and
how their differing words are judged changed.
Verified (at 33873ab651, this commit's tree):
- Gate: fmt, clippy with --workspace --all-targets --all-features -D warnings plain, under
--cfg m2v_gpu and under --cfg m2v_cpu_icd, and rustdoc -D warnings, all exit 0 (job
m3-max-83339). Validation suite: 1339 passed, 3 skipped (job m3-max-83340); in the same job the
two new tests pass, and both fail with output_words.rs and words.rs put back to the parent.
- The public cases (1,168), noted / matched only within bounds / mismatch cases (batch-words),
before at 31b2964425 and after:
- lavapipe (x86): 156 / 27 / 10 before (job m3-max-83318) and after (job m3-max-83341); every
row keeps its outcome and gap; 15 rows lose their fall-back words. Cases with a word on the
fall-back: 571 to 488; with a differing one: 37 to 22.
- AMD Radeon 780M (RADV PHOENIX, Mesa 26.2.6): 171 / 24 / 16 before (job m3-max-83332), 170 /
24 / 17 after (job m3-max-83385). Every mismatch is held by a gap, before (21) and after (22):
no new mismatch. One row moves: three-color-inputs-tag-attachment (c261f487), from a noted
difference to a mismatch held as ordered_fetch_within_draw. Its target is the r32_uint tag,
tag * 5 + as_type<uint>(color.x) of the attachments it fetches: no half conversion feeds it,
so NativeHalfConversion, which reached its 16 differing words only by fall-back, no longer
excuses them; UnorderedFetchWithinDraw reaches them. Cases with a word on the fall-back: 605
to 515; with a differing one: 58 to 33.
Landed with ENGINE_EXECUTOR_ABI vulkan-engine-v217 (renumbered above development's v216, the half-arithmetic family); docs/VALIDATION.md merged by hand with that change's half family wording. runtime-sources.sha256 unchanged (a92fe0a8).