[Webkit-unassigned] [Bug 187779] New: [WHLSL] The interpreter doesn't support boolean short-circuiting

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jul 18 13:52:07 PDT 2018


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

            Bug ID: 187779
           Summary: [WHLSL] The interpreter doesn't support boolean
                    short-circuiting
           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: tdenney at apple.com

The WHLSL specification states that the boolean operations && and || should support short-circuiting, i.e. in e1 && e2, e2 is only evaluated if e1 evaluates to true, and in e1 || e2, e2 is only evaluated if e1 evaluates to false. Currently the interpreter doesn't adhere to this behavior and evaluates both operands as && and || are implemented as functions that take a pair of boolean arguments.

-- 
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/20180718/02ce9b9a/attachment.html>


More information about the webkit-unassigned mailing list