On Tue Sep 12 13:26:04 2023 +0000, Nikolay Sivov wrote:
Sure, we can do that. Does it have to be in this MR, or separately? I think it works either way, I wasn't planning on it, but I can amend with int handling changes, together with corresponding tests.
My favourite way forward would be, in this MR, to change `hlsl_add_conditional()` so that it generates a `TERNARY` instead of an `if`/`else` block. In this way all the three sites currently calling it are fixed at once and without (other) changes.