vkd3d-shader/hlsl: Remove unused expr ops.

These correspond to specific SM1 opcodes which we don't use (and which the native compiler never uses either).
This commit is contained in:
Elizabeth Figura
2024-10-30 11:51:06 -05:00
committed by Henri Verbeet
parent a3c74fd429
commit 01117c716d
Notes: Henri Verbeet 2024-12-04 14:44:59 +01:00
Approved-by: Henri Verbeet (@hverbeet)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1299
2 changed files with 0 additions and 6 deletions

View File

@@ -714,13 +714,11 @@ enum hlsl_ir_expr_op
HLSL_OP1_LOG2,
HLSL_OP1_LOGIC_NOT,
HLSL_OP1_NEG,
HLSL_OP1_NRM,
HLSL_OP1_RCP,
HLSL_OP1_REINTERPRET,
HLSL_OP1_ROUND,
HLSL_OP1_RSQ,
HLSL_OP1_SAT,
HLSL_OP1_SIGN,
HLSL_OP1_SIN,
HLSL_OP1_SIN_REDUCED, /* Reduced range [-pi, pi], writes to .y */
HLSL_OP1_SQRT,
@@ -730,7 +728,6 @@ enum hlsl_ir_expr_op
HLSL_OP2_BIT_AND,
HLSL_OP2_BIT_OR,
HLSL_OP2_BIT_XOR,
HLSL_OP2_CRS,
HLSL_OP2_DIV,
HLSL_OP2_DOT,
HLSL_OP2_EQUAL,