mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
vkd3d-shader/hlsl: Write SM4 bitwise NOT instructions.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com> Signed-off-by: Francisco Casas <fcasas@codeweavers.com> Signed-off-by: Matteo Bruni <mbruni@codeweavers.com> Signed-off-by: Giovanni Mascellani <gmascellani@codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
2959ad74f7
commit
8e6c526779
@ -1568,6 +1568,11 @@ static void write_sm4_expr(struct hlsl_ctx *ctx,
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case HLSL_OP1_BIT_NOT:
|
||||||
|
assert(type_is_integer(dst_type));
|
||||||
|
write_sm4_unary_op(buffer, VKD3D_SM4_OP_NOT, &expr->node, arg1, 0);
|
||||||
|
break;
|
||||||
|
|
||||||
case HLSL_OP1_CAST:
|
case HLSL_OP1_CAST:
|
||||||
write_sm4_cast(ctx, buffer, expr);
|
write_sm4_cast(ctx, buffer, expr);
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user