[Webkit-unassigned] [Bug 200252] New: [WHLSL] The sign function in the stdlib should always return an int.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jul 29 15:55:06 PDT 2019


https://bugs.webkit.org/show_bug.cgi?id=200252

            Bug ID: 200252
           Summary: [WHLSL] The sign function in the stdlib should always
                    return an int.
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebGPU
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: rmorisset at apple.com

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190729/e1d10941/attachment.html>


More information about the webkit-unassigned mailing list