26 Jul
2023
26 Jul
'23
4:10 p.m.
Is there any user of hlsl_add_conditional() that *doesn't* want it to be per-component? As far as I can tell the answer is no, so we may as well just change it there.
Maybe we can. For lit() it's always a scalar I think, but should not hurt.
Is there an advantage to keeping separate TERNARY and MOVC ops? Can we just emit TERNARY directly for sm4?
I was thinking turning it to movc/cmp/slt/sge conditionally, and those have different meaning for condition argument. -- https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/268#note_40396