27 Sep
2023
27 Sep
'23
10:55 a.m.
On Wed Sep 27 10:45:45 2023 +0000, Giovanni Mascellani wrote:
Why there is no warning for zero in this case? BTW, did you manage to actually have native execute `rsqrt()` on a `double`? If I try something trivial as ```hlsl float4 main(uint4 x : COLOR) : sv_target { double y = 0.0; return rsqrt(y); } ``` the warnings seem to imply that `y` is casted to `float` before being given to `rsqrt()`. Yes, it's better to remove anything but float/half. I don't see how to feed double to it. It's always converted.
-- https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/368#note_46941