On Fri Sep 8 16:27:48 2023 +0000, Giovanni Mascellani wrote:
Yes, but you still have to detect the correct type to convert to. It seems that the general philosophy behind the HLSL compiler is that for expressions that only make sense for floating point numbers you convert every integral type (`int`, `uint` and `bool`) to `float`, and everything else doesn't need conversion. That's what `elementwise_intrinsic_float_convert_args()` does. I would assume that here the same happens, unless there is evidence of the contrary.
We probably need to fix lit() too now that you mention it.