28 Mar
2024
28 Mar
'24
9:51 p.m.
On Thu Mar 28 21:37:16 2024 +0000, Francisco Casas wrote:
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. Hrm? I don't see us always casting. Although, arguably, we should.
But if we did always cast to bool, why would we want to reinterpret to float here? -- https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/744#note_66425