[Webkit-unassigned] [Bug 177031] New: Figure out how WSL will support field overloads like float4.xz and friends

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Sep 15 19:09:00 PDT 2017


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

            Bug ID: 177031
           Summary: Figure out how WSL will support field overloads like
                    float4.xz and friends
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebGPU
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: fpizlo at apple.com

I think that we do need operator[] and operator[]=, unlike what I concluded in https://bugs.webkit.org/show_bug.cgi?id=176958#c2 and subsequently landed.

Otherwise, what does this return:

    ? operator&.xz(thread float4^)

It cannot return float2, because it needs to return a pointer to a field. It cannot return float2^, because xz are not next to each other.

But it would work if we could instead override:

    float2 operator.xz(float4)
    void operator.xz=(float4, float2)

-- 
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/20170916/46b8ec0c/attachment.html>


More information about the webkit-unassigned mailing list