Skip to content
Snippets Groups Projects
Commit 8e6c5267 authored by Giovanni Mascellani's avatar Giovanni Mascellani Committed by Alexandre Julliard
Browse files

vkd3d-shader/hlsl: Write SM4 bitwise NOT instructions.

parent 2959ad74
No related branches found
No related tags found
No related merge requests found
......@@ -1568,6 +1568,11 @@ static void write_sm4_expr(struct hlsl_ctx *ctx,
}
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:
write_sm4_cast(ctx, buffer, expr);
break;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment