28 Mar
2024
28 Mar
'24
9:37 p.m.
On Thu Mar 28 21:37:16 2024 +0000, Zebediah Figura wrote:
1/7 looks wrong. I haven't checked, but won't it do the wrong thing if we have something like const int x = 0x80000000; return x ? 1 : 0; Currently, every time we generate a HLSL IR ternary operation, the condition (arg[0]) is boolean so in SM1 it should only acquire two values at this point, 1.0f or 0.0f.
-- https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/744#note_66420