[Webkit-unassigned] [Bug 189015] New: [WHLSL] Generate built-in functions "as-if" they were there the whole time

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 27 15:26:00 PDT 2018


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

            Bug ID: 189015
           Summary: [WHLSL] Generate built-in functions "as-if" they were
                    there the whole time
           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: mmaxfield at apple.com

Now that we've removed generics, we need to generate some functions at compile time. For example, operator.length of an int[10]. There is no way of describing this generically in the standard library, so we do it at compile time.

These newly-generated functions need to be created inside the type checker, because that's the only place which the type of every expression in the program. However, this is halfway through compilation. We need to make sure these newly-generated functions don't have any observable difference than regular functions in the standard library.

-- 
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/20180827/45605954/attachment-0001.html>


More information about the webkit-unassigned mailing list