runtime_lane::heap_carried_reads::a_heap_s_carried_textures_read_as_outside_a_heap failed on the
Iris Xe (round c218071502, iris_lane_1_2): for ETC2RGB8 at Metal's heap answer, "two reads in one
command buffer, shadowed true: Counted { copies: 1, decodes: 0 }" and "a sample after
replaceRegion decoded nothing". ANV samples ETC2 itself, so that texture is a shadow of the heap's
bytes with no twin ("twin none" in its HEAPDECODE line). The test took every shadow to have one: it
asked decodes == copies of the reads and a decode after replaceRegion. Its counts are the
product's rule: read x2 copies 1 (one copy in, the second encoder carrying the image), sample 1,
blit+sample 1, replace+sample 1, as the same Iris's twinned 4:2:2 shadows copy (each plus one
decode). PHOENIX and lavapipe passed because RADV and lavapipe lack ETC2, so their ETC2 shadows
have twins.
Now the case reads whether its texture took a twin (carried-decoded-twin at its making, as its
HEAPDECODE line already did). The two reads in one command buffer must take exactly one copy in
for a shadow, decoded once with a twin and never without; before, a twinned shadow passed with
any number of copies. A Shared shadow's samples after replaceRegion must show a decode with a twin
and a copy in without one. An image in the heap's memory still decodes nothing. So a second copy
inside one command buffer fails both branches. The FORMATS and module docs say ANV samples ETC2.
Verified: the test passed on the Iris Xe (ANV, m3-max-34147: ETC2RGB8 shadows twin none, read x2 copies 1
decodes 0, replace+sample copies 1 decodes 0), PHOENIX (m3-max-34145) and lavapipe (m3-max-34118); clippy in
all three configurations and rustdoc passed (34118, 34146).