[Webkit-unassigned] [Bug 197448] New: [WHLSL] Cannot assign through pointers

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 30 17:46:51 PDT 2019


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

            Bug ID: 197448
           Summary: [WHLSL] Cannot assign through pointers
           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

Consider the following WHLSL statement:

*x = y;

When we compile this, we naively turn this into

auto temp1 = *x;
temp1 = y;

This doesn't actually assign through the pointer, instead it just reassigns a temporary

The WHLSLFunctionWriter needs to be smart enough to understand how to emit code that assigns through a pointer. We also need to determine which situations it needs to be made smarter about.

-- 
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/20190501/59e7db6e/attachment-0001.html>


More information about the webkit-unassigned mailing list