[Webkit-unassigned] [Bug 261852] New: [WebGPU] https://webgpu.github.io/webgpu-samples/samples/renderBundles does not load

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Sep 20 16:22:24 PDT 2023


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

            Bug ID: 261852
           Summary: [WebGPU]
                    https://webgpu.github.io/webgpu-samples/samples/render
                    Bundles does not load
           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

https://webgpu.github.io/webgpu-samples/samples/renderBundles does not load due to:

MSL compilation error: Error Domain=MTLLibraryErrorDomain Code=3 "program_source:65:48: error: call to 'max' is ambiguous
    vec<float, 3> local8 = saturate((local5 + (max(dot(local3.normal, local6), 0) * local7)));


corresponding MSL:
  vec<float, 3> local8 = saturate((local5 + (max(dot(local3.normal, local6), 0) * local7)));

corresponding WGSL:
  let lightColor = saturate(ambientColor + max(dot(input.normal, lightDir), 0.0) * dirColor);

looks like the ".0" is being dropped, if we kept it, it would compile or at least not fail at this line

-- 
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/20230920/9a20b299/attachment.htm>


More information about the webkit-unassigned mailing list