[PATCH vkd3d v4 6/6] vkd3d-shader/hlsl: Parse bitwise OR.

Francisco Casas fcasas at codeweavers.com
Fri Jan 28 12:54:14 CST 2022


Signed-off-by: Francisco Casas <fcasas at codeweavers.com>

January 28, 2022 5:03 AM, "Giovanni Mascellani" <gmascellani at codeweavers.com> wrote:

> 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 ea13f4e7..cee682f3 100644
> --- a/libs/vkd3d-shader/hlsl.y
> +++ b/libs/vkd3d-shader/hlsl.y
> @@ -3611,7 +3611,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:
> -- 
> 2.34.1



More information about the wine-devel mailing list