vkd3d-shader/hlsl: Remove HLSL_OP3_LERP.

It is unused, and it's not clear whether it would be of any help to
have it.
This commit is contained in:
Giovanni Mascellani 2023-09-13 10:24:31 +02:00 committed by Alexandre Julliard
parent 3113f167ba
commit f251da574c
Notes: Alexandre Julliard 2023-09-14 22:20:56 +02:00
Approved-by: Zebediah Figura (@zfigura)
Approved-by: Henri Verbeet (@hverbeet)
Approved-by: Alexandre Julliard (@julliard)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/340
2 changed files with 0 additions and 2 deletions

View File

@ -2486,7 +2486,6 @@ const char *debug_hlsl_expr_op(enum hlsl_ir_expr_op op)
[HLSL_OP2_RSHIFT] = ">>",
[HLSL_OP3_DP2ADD] = "dp2add",
[HLSL_OP3_LERP] = "lerp",
[HLSL_OP3_MOVC] = "movc",
[HLSL_OP3_TERNARY] = "ternary",
};

View File

@ -551,7 +551,6 @@ enum hlsl_ir_expr_op
HLSL_OP2_RSHIFT,
HLSL_OP3_DP2ADD,
HLSL_OP3_LERP,
/* TERNARY is used specifically for ternary operator, and later lowered according to profile to e.g. MOVC. */
HLSL_OP3_MOVC,
HLSL_OP3_TERNARY,