[PATCH vkd3d 3/7] vkd3d-shader/hlsl: Introduce add_cast() helper.

Zebediah Figura zfigura at codeweavers.com
Wed Jun 1 19:31:08 CDT 2022


On 6/1/22 05:46, Giovanni Mascellani wrote:
> @@ -289,14 +300,7 @@ static struct hlsl_ir_node *add_implicit_conversion(struct hlsl_ctx *ctx, struct
>           return NULL;
>       }
>   
> -    if (dst_type->dimx * dst_type->dimy < src_type->dimx * src_type->dimy)
> -        hlsl_warning(ctx, loc, VKD3D_SHADER_WARNING_HLSL_IMPLICIT_TRUNCATION, "Implicit truncation of %s type.",
> -                src_type->type == HLSL_CLASS_VECTOR ? "vector" : "matrix");
> -

This seems to have been accidentally deleted.



More information about the wine-devel mailing list