vkd3d-shader/hlsl: Implement sin/cos for SM1.

Also introduce HLSL_OP3_MAD.
This commit is contained in:
Shaun Ren
2024-07-10 22:47:51 -04:00
committed by Henri Verbeet
parent b3a11a9ec4
commit b4845b9dca
Notes: Henri Verbeet 2024-07-16 19:57:03 +02:00
Approved-by: Elizabeth Figura (@zfigura)
Approved-by: Henri Verbeet (@hverbeet)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/923
3 changed files with 106 additions and 0 deletions

View File

@@ -2849,6 +2849,7 @@ const char *debug_hlsl_expr_op(enum hlsl_ir_expr_op op)
[HLSL_OP3_CMP] = "cmp",
[HLSL_OP3_DP2ADD] = "dp2add",
[HLSL_OP3_TERNARY] = "ternary",
[HLSL_OP3_MAD] = "mad",
};
return op_names[op];