[Webkit-unassigned] [Bug 272637] New: [WebGPU] https://playcanvas.github.io/#/graphics/post-effects fails shader compilation

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Apr 13 19:57:04 PDT 2024


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

            Bug ID: 272637
           Summary: [WebGPU]
                    https://playcanvas.github.io/#/graphics/post-effects
                    fails shader compilation
           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

Created attachment 470915

  --> https://bugs.webkit.org/attachment.cgi?id=470915&action=review

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 {

-- 
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/20240414/b46613c4/attachment.htm>


More information about the webkit-unassigned mailing list