[Webkit-unassigned] [Bug 200961] New: [WHLSL] We can not do effects for ternary expressions and logical expressions eagerly

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Aug 20 19:12:00 PDT 2019


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

            Bug ID: 200961
           Summary: [WHLSL] We can not do effects for ternary expressions
                    and logical expressions eagerly
           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: sbarati at apple.com
                CC: dino at apple.com, fpizlo at apple.com, jonlee at apple.com,
                    justin_fan at apple.com, mmaxfield at apple.com,
                    rmorisset at apple.com, sam at webkit.org

We just emit before the branch for ternary and the implicit branch for logical expressions.

So if we had something like:
(b ? a[0] = 1 : a[1] = 2)

we'd store both to a[0] and a[1]

-- 
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/20190821/5bd486af/attachment-0001.html>


More information about the webkit-unassigned mailing list