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

Giovanni Mascellani gmascellani at codeweavers.com
Wed Jan 26 03:44:20 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 11d00f53..edebb23c 100644
--- a/libs/vkd3d-shader/hlsl.y
+++ b/libs/vkd3d-shader/hlsl.y
@@ -3498,7 +3498,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