Zebediah Figura (@zfigura) commented about libs/vkd3d-shader/hlsl.h:
HLSL_OP2_NEQUAL, HLSL_OP2_RSHIFT,
- /* DP2ADD(a, b, c) computes the scalar product of a.xy and b.xy,
HLSL_OP3_DP2ADD,* then adds c. */
- /* LERP(a, b, c) computes a * (1-z) + b * z or, equivalently,
HLSL_OP3_LERP,* a + z * (b - c). */
- /* TERNARY is used specifically for ternary operator, and later lowered according to profile to e.g. MOVC. */
- /* MOVC(a, b, c) returns c is a is bitwise zero and b
Typographical error, "is a is".