On Mon Feb 6 14:41:36 2023 +0000, Giovanni Mascellani wrote:
Please use `add_binary_dot_expr()`, which does things properly: it generates a scalar rather than a vector, it errors out on matrix inputs, it generates `HLSL_OP2_MUL` instead of `HLSL_OP2_DOT` when necessary.
Thinking again, this is probably another instance of https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/76#note_22500: this is not an elementwise operation, so you shouldn't use `elementwise_intrinsic_float_convert_args()`. But please check what happens when providing matrices, or vectors of different size, or vectors and scalars, or other funny combinations.