[PATCH vkd3d 4/6] vkd3d-shader/hlsl: Parse right shift.

Giovanni Mascellani gmascellani at codeweavers.com
Wed Feb 16 02:15:56 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 fb183a91..9b738312 100644
--- a/libs/vkd3d-shader/hlsl.y
+++ b/libs/vkd3d-shader/hlsl.y
@@ -3705,7 +3705,7 @@ shift_expr:
         }
     | shift_expr OP_RIGHTSHIFT add_expr
         {
-            hlsl_fixme(ctx, &@$, "Right shift.");
+            $$ = add_binary_shift_expr_merge(ctx, $1, $3, HLSL_OP2_RSHIFT, &@2);
         }
 
 relational_expr:
-- 
2.34.1




More information about the wine-devel mailing list