mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-09-13 09:16:14 -07:00
vkd3d-shader/hlsl: Use elementwise_intrinsic_convert_args() in intrinsic_dst().
This one preserves integer arguments.
This commit is contained in:
parent
7636f2a233
commit
24e29649c4
Notes:
Henri Verbeet
2024-09-11 15:34:20 +02:00
Approved-by: Giovanni Mascellani (@giomasce) Approved-by: Henri Verbeet (@hverbeet) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1042
@ -3809,7 +3809,7 @@ static bool intrinsic_dst(struct hlsl_ctx *ctx, const struct parse_initializer *
|
||||
" return %s(1, src0.y * src1.y, src0.z, src1.w);\n"
|
||||
"}";
|
||||
|
||||
if (!elementwise_intrinsic_float_convert_args(ctx, params, loc))
|
||||
if (!elementwise_intrinsic_convert_args(ctx, params, loc))
|
||||
return false;
|
||||
type = params->args[0]->data_type;
|
||||
if (!(type->class == HLSL_CLASS_SCALAR
|
||||
|
Loading…
Reference in New Issue
Block a user