Bug 264143

Summary: [WebGPU] Error opening https://threejs.org/examples/?q=webgpu#webgpu_backdrop_area
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: Other   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
ThreeJS WGSL source which generates the MSL error none

Mike Wyrzykowski
Reported 2023-11-03 00:01:52 PDT
Created attachment 468467 [details] ThreeJS WGSL source which generates the MSL error [WebGPU] Error opening https://threejs.org/examples/?q=webgpu#webgpu_backdrop_area MSL compilation error: Error Domain=MTLLibraryErrorDomain Code=3 "program_source:115:14: error: call to 'distance' is ambiguous local5 = distance(((((global4.field3 * global4.field4) / (((global4.field4 - global4.field3) * local4) - global4.field4)) + global4.field3) / (global4.field3 - global4.field4)), ((parameter3.xyz.z + global4.field3) / (global4.field3 - global4.field4))); Attaching WGSL source
Attachments
ThreeJS WGSL source which generates the MSL error (18.41 KB, text/plain)
2023-11-03 00:01 PDT, Mike Wyrzykowski
no flags
Radar WebKit Bug Importer
Comment 1 2023-11-03 00:02:05 PDT
Tadeu Zagallo
Comment 2 2023-11-03 08:09:30 PDT
EWS
Comment 3 2023-11-06 02:06:13 PST
Committed 270259@main (8d5247e667b6): <https://commits.webkit.org/270259@main> Reviewed commits have been landed. Closing PR #19953 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.