RESOLVED DUPLICATE of bug 255517255619
[WGSL] Parentheses missing in expression
https://bugs.webkit.org/show_bug.cgi?id=255619
Summary [WGSL] Parentheses missing in expression
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.