[Webkit-unassigned] [Bug 201831] New: [WHLSL] modf should not do a cast from float to uint

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Sep 16 13:04:46 PDT 2019


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

            Bug ID: 201831
           Summary: [WHLSL] modf should not do a cast from float to uint
           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

It is undefined behavior for both floats that are too large to represent, and for negative ones.
We should instead do a proper truncate.

-- 
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/20190916/6f973f9f/attachment.html>


More information about the webkit-unassigned mailing list