WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
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
Add attachment
proposed patch, testcase, etc.
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.
Top of Page
Format For Printing
XML
Clone This Bug