5 Apr
2024
5 Apr
'24
10:15 a.m.
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. -- https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/744#note_67029