Bug 200636
Summary: | [WHLSL] fmod in the standard library is broken on negative inputs | ||
---|---|---|---|
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
e.g. fmod(-42.0, -3.0) should return -1.0, not 1.0.
I don't think it should return 0.0 for fmod(42, -3) or fmod(-42, 3) either.
I suspect it could just return the fmod of Metal, but I am still investigating.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Myles C. Maxfield
WHLSL is no longer relevant.