Bug 200252
Summary: | [WHLSL] The sign function in the stdlib should always return an int. | ||
---|---|---|---|
Product: | WebKit | Reporter: | Robin Morisset <rmorisset> |
Component: | WebGPU | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED WONTFIX | ||
Severity: | Normal | ||
Priority: | P2 | ||
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Robin Morisset
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
WHLSL is no longer relevant.