[Webkit-unassigned] [Bug 255619] New: [WGSL] Parentheses missing in expression

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 18 12:10:11 PDT 2023


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

            Bug ID: 255619
           Summary: [WGSL] Parentheses missing in expression
           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: mwyrzykowski at apple.com

Load https://webgpu.github.io/webgpu-samples/samples/rotatingCube

WGSL source: 0.5 * (position + vec4(1.0, 1.0, 1.0, 1.0));

Actual generated metal: local2.fragPosition = 0.5 * local1 + vec<float, 4>(1, 1, 1, 1);

Expected generated metal: local2.fragPosition = 0.5 * (local1 + vec<float, 4>(1, 1, 1, 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/20230418/708de78d/attachment.htm>


More information about the webkit-unassigned mailing list