26 Apr
2023
26 Apr
'23
8:55 a.m.
Changed to reuse hlsl_fold_constant_exprs(). I had to mark one existing test as todo now, because [(x = 2)] suddenly started working, when it shouldn't. Probably we could simply scan for non-constants and reject such expressions. I'll deal with that once general approach is approved. -- https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/180#note_31193