Giovanni Mascellani (@giomasce) commented about libs/vkd3d-shader/ir.c:
ins->dst[0].write_mask = VKD3DSP_WRITEMASK_ALL; ins->src[0].reg = texkill_ins->dst[0].reg;
ins->src[0].swizzle = VKD3D_SHADER_SWIZZLE(X, Y, Z, W);
Not a big deal, but notice we also have `VKD3D_SHADER_NO_SWIZZLE`. The name doesn't feel entirely correct to me, but it does the same thing.