[PATCH vkd3d 5/6] vkd3d-shader/hlsl: Parse bitwise XOR.

Giovanni Mascellani gmascellani at codeweavers.com
Tue Jan 25 05:07:52 CST 2022


Signed-off-by: Giovanni Mascellani <gmascellani at codeweavers.com>
---
 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 873ba29d..066396f9 100644
--- a/libs/vkd3d-shader/hlsl.y
+++ b/libs/vkd3d-shader/hlsl.y
@@ -3479,7 +3479,7 @@ bitxor_expr:
       bitand_expr
     | bitxor_expr '^' bitand_expr
         {
-            hlsl_fixme(ctx, &@$, "Bitwise XOR.");
+            $$ = add_binary_bitwise_expr_merge(ctx, $1, $3, HLSL_OP2_BIT_XOR, &@2);
         }
 
 bitor_expr:
-- 
2.34.1




More information about the wine-devel mailing list