Bug 255619

Summary: [WGSL] Parentheses missing in expression
Product: WebKit Reporter: Mike Wyrzykowski <mwyrzykowski>
Component: WebGPUAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Mike Wyrzykowski
Reported 2023-04-18 12:10:11 PDT
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));
Attachments
Radar WebKit Bug Importer
Comment 1 2023-04-18 12:10:40 PDT
Mike Wyrzykowski
Comment 2 2023-04-18 12:29:07 PDT
*** This bug has been marked as a duplicate of bug 255517 ***
Note You need to log in before you can comment on or make changes to this bug.