Bug 272637

Summary: [WebGPU] https://playcanvas.github.io/#/graphics/post-effects fails shader compilation
Product: WebKit Reporter: Mike Wyrzykowski <mwyrzykowski>
Component: WebGPUAssignee: Tadeu Zagallo <tzagallo>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
WGSL source which reproduces the issue none

Mike Wyrzykowski
Reported 2024-04-13 19:57:04 PDT
Created attachment 470915 [details] WGSL source which reproduces the issue [WebGPU] https://playcanvas.github.io/#/graphics/post-effects fails shader compilation 1 error generated while compiling the shader: 264:0: missing return at end of function Shader source attached, I don't completely understand the error since like 264 is (unless it refers to the previous line / function): fn scalableAmbientObscurance_vf2_vf3_vf3_(uv_4 : ptr<function, vec2<f32>>, origin_1 : ptr<function, vec3<f32>>, normal_1 : ptr<function, vec3<f32>>) -> f32 {
Attachments
WGSL source which reproduces the issue (11.99 KB, text/plain)
2024-04-13 19:57 PDT, Mike Wyrzykowski
no flags
Radar WebKit Bug Importer
Comment 1 2024-04-13 19:57:20 PDT
Tadeu Zagallo
Comment 2 2024-04-15 09:45:27 PDT
EWS
Comment 3 2024-04-17 09:10:11 PDT
Committed 277618@main (79d5e4f3dd8b): <https://commits.webkit.org/277618@main> Reviewed commits have been landed. Closing PR #27267 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.