From d1c2ae3f0eaf0f3b64b0a5f4c50ad402e822a4eb Mon Sep 17 00:00:00 2001 From: Nikolay Sivov Date: Thu, 3 Oct 2024 19:54:23 +0200 Subject: [PATCH] vkd3d-shader/hlsl: Remove the type equality assertion for binary expression arguments. --- libs/vkd3d-shader/hlsl.c | 1 - 1 file changed, 1 deletion(-) diff --git a/libs/vkd3d-shader/hlsl.c b/libs/vkd3d-shader/hlsl.c index 9ace1930..b44c0296 100644 --- a/libs/vkd3d-shader/hlsl.c +++ b/libs/vkd3d-shader/hlsl.c @@ -1621,7 +1621,6 @@ struct hlsl_ir_node *hlsl_new_binary_expr(struct hlsl_ctx *ctx, enum hlsl_ir_exp { struct hlsl_ir_node *operands[HLSL_MAX_OPERANDS] = {arg1, arg2}; - VKD3D_ASSERT(hlsl_types_are_equal(arg1->data_type, arg2->data_type)); return hlsl_new_expr(ctx, op, operands, arg1->data_type, &arg1->loc); }