Giovanni Mascellani : vkd3d-shader/hlsl: Parse bitwise OR.
Module: vkd3d Branch: master Commit: 02a2a9a9299591bd13273c51074035c6bb181d3a URL: https://source.winehq.org/git/vkd3d.git/?a=commit;h=02a2a9a9299591bd13273c51... Author: Giovanni Mascellani <gmascellani(a)codeweavers.com> Date: Fri Feb 11 21:04:09 2022 +0100 vkd3d-shader/hlsl: Parse bitwise OR. Signed-off-by: Giovanni Mascellani <gmascellani(a)codeweavers.com> Signed-off-by: Zebediah Figura <zfigura(a)codeweavers.com> Signed-off-by: Francisco Casas <fcasas(a)codeweavers.com> Signed-off-by: Matteo Bruni <mbruni(a)codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- libs/vkd3d-shader/hlsl.y | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/vkd3d-shader/hlsl.y b/libs/vkd3d-shader/hlsl.y index 1d9d7e8..459ad03 100644 --- a/libs/vkd3d-shader/hlsl.y +++ b/libs/vkd3d-shader/hlsl.y @@ -3657,7 +3657,7 @@ bitor_expr: bitxor_expr | bitor_expr '|' bitxor_expr { - hlsl_fixme(ctx, &@$, "Bitwise OR."); + $$ = add_binary_bitwise_expr_merge(ctx, $1, $3, HLSL_OP2_BIT_OR, &@2); } logicand_expr:
participants (1)
-
Alexandre Julliard