Giovanni Mascellani : vkd3d-shader/hlsl: Parse bitwise OR.

Alexandre Julliard julliard at winehq.org
Mon Feb 14 15:40:56 CST 2022


Module: vkd3d
Branch: master
Commit: 02a2a9a9299591bd13273c51074035c6bb181d3a
URL:    https://source.winehq.org/git/vkd3d.git/?a=commit;h=02a2a9a9299591bd13273c51074035c6bb181d3a

Author: Giovanni Mascellani <gmascellani at codeweavers.com>
Date:   Fri Feb 11 21:04:09 2022 +0100

vkd3d-shader/hlsl: Parse bitwise OR.

Signed-off-by: Giovanni Mascellani <gmascellani at codeweavers.com>
Signed-off-by: Zebediah Figura <zfigura at codeweavers.com>
Signed-off-by: Francisco Casas <fcasas at codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni at codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at 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:




More information about the wine-cvs mailing list