Giovanni Mascellani (@giomasce) commented about libs/vkd3d-shader/hlsl.c:
return hlsl_new_expr(ctx, op, operands, arg1->data_type, &arg1->loc);
}
+struct hlsl_ir_node *hlsl_new_ternary_expr(struct hlsl_ctx *ctx, enum hlsl_ir_expr_op op,
It doesn't look like this is used.