On Fri Sep 8 16:09:37 2023 +0000, Nikolay Sivov wrote:
I think the idea was to convert in add_user_call(), maybe it could be reworked.
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.