Files
metal2vulkan/crates
Anees Iqbal 4457fd001f Validation: authored cases for kernel_handle_word_joins's four entries
Four cases, one for each entry of the owned fixture kernel_handle_word_joins: sixteen threads
take a sampler or a texture from a branch merged at a join (as integer words in a phi, as words in
a select, and as pointers in a phi) and write what it samples or reads.

The sampler entries read element slot[gid] & 3 of an array<sampler, 1> through a run-time GEP
index; slot holds 4g, so the index is always the array's one element. The case checker binds only
the first slot of a sampler array (the case schema has no sampler-array resource), which is why
the array has one element; engine_handle_words compiles the same entries over an
array<sampler, 8>. The texture entry reads element slot[gid] & 3 of an array<texture2d, 4>.

Installed by corpus-case-check --install at c5bbdb25b7 (job m3-max-83477, msi), which also
translated the fixture's Metal twin (kernel_handle_word_joins.air.ll through metal-as) for all four
entries (spirv-val PASS) and ran engine_handle_words, 7 of 7 passed.
2026-12-03 05:57:29 -08:00
..