RESOLVED WONTFIX 200252
[WHLSL] The sign function in the stdlib should always return an int.
https://bugs.webkit.org/show_bug.cgi?id=200252
Summary [WHLSL] The sign function in the stdlib should always return an int.
Robin Morisset
Reported 2019-07-29 15:55:06 PDT
Currently it always return something of the type of its argument.. which can be float or unsigned. Myles verified that sign(-42.0) is -1, not -1.0 in HLSL.
Attachments
Myles C. Maxfield
Comment 1 2020-05-05 00:42:46 PDT
WHLSL is no longer relevant.
Note You need to log in before you can comment on or make changes to this bug.