mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
vkd3d-shader/tpf: Use 'movc' to implement ternary operator.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
This commit is contained in:
committed by
Alexandre Julliard
parent
2fb0c2d187
commit
1002a6b357
Notes:
Alexandre Julliard
2023-09-07 23:01:33 +02:00
Approved-by: Giovanni Mascellani (@giomasce) 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/268
@@ -2487,6 +2487,8 @@ const char *debug_hlsl_expr_op(enum hlsl_ir_expr_op op)
|
||||
|
||||
[HLSL_OP3_DP2ADD] = "dp2add",
|
||||
[HLSL_OP3_LERP] = "lerp",
|
||||
[HLSL_OP3_MOVC] = "movc",
|
||||
[HLSL_OP3_TERNARY] = "ternary",
|
||||
};
|
||||
|
||||
return op_names[op];
|
||||
|
Reference in New Issue
Block a user