mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
vkd3d-shader/hlsl: Implement sin/cos for SM1.
Also introduce HLSL_OP3_MAD.
This commit is contained in:
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
@@ -699,6 +699,7 @@ enum hlsl_ir_expr_op
|
||||
* CMP(a, b, c) returns 'b' if 'a' >= 0, and 'c' otherwise. It's used only for SM1-SM3 targets. */
|
||||
HLSL_OP3_CMP,
|
||||
HLSL_OP3_TERNARY,
|
||||
HLSL_OP3_MAD,
|
||||
};
|
||||
|
||||
#define HLSL_MAX_OPERANDS 3
|
||||
|
Reference in New Issue
Block a user