11 Sep
2023
11 Sep
'23
9:50 p.m.
I think you misunderstood. What I mean is that explict 'if (x) a=b; else a=c;' might be turned to conditional move with x.xxxx mask, as an optimization. The helper is internal, but I'd rather remove it when it's not useful.
Arguably it's still useful as a convenient shorthand for ternary hlsl_new_expr(). -- https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/336#note_44964