On Fri Feb 16 07:12:23 2024 +0000, Conor McCarthy wrote:
It relies on dxcompiler always extracting the scalars immediately after the vector result is emitted. It may be simpler to validate that than emit a `MOV`.
Mmmh, I don't think we should rely on the compiler's behavior. We don't know whether unpacking always happens immediately, whether it will in the future and whether it would happen if anybody would be writing an alternative compiler.