sampler-r-address-modes (3 rows) and sampler-border-colours (6 rows)
differ on RADV at one lane: r = -2^-149, which Metal reads as layer 0
and the device reads below it. The rows left open whether the module
hands the sampler that coordinate unchanged. The module was read to
settle it. msf_slot3d_linear_repeat, translated by the metal2vulkan
command for crates/metal2vulkan-validation/profiles/amd-rdna3-radv.json
(m3-max-4251, spirv-val PASS), loads the coordinate's words, bitcasts
them to float and shuffles out xyz. The constexpr sampler's
OpImageSampleExplicitLod takes that value directly. The runtime
sampler's takes OpSelect(SamplerState bit 0, floor-and-divide,
coordinate), and bit 0 is SamplerWord::PIXEL_COORDINATES, which is
clear for these normalized samplers, so it too takes the coordinate as
loaded. No arithmetic touches it, so the subnormal reaches the device's
sampler unchanged, and the layer the device reads is its sampler's own
answer (device-sampling, rule 1). The rows now say so; what stays open
is device-sampling's bound for a 3D texture.
(cherry picked from commit 609cb23f1e6861bc9adc1b4f81482a52269f8e54)