Created attachment 468466 [details] ThreeJS wgsl source [WebGPU] error: use of undeclared identifier 'inverseSqrt' opening https://threejs.org/examples/?q=webgpu#webgpu_clearcoat MSL compilation error: Error Domain=MTLLibraryErrorDomain Code=3 "program_source:251:51: error: use of undeclared identifier 'inverseSqrt' local13 = (((float(parameter14) * 2.) - 1.) * inverseSqrt(max(dot(local8, local8), dot(local12, local12)))); ^ " UserInfo={NSLocalizedDescription=program_source:251:51: error: use of undeclared identifier 'inverseSqrt' local13 = (((float(parameter14) * 2.) - 1.) * inverseSqrt(max(dot(local8, local8), dot(local12, local12))));
<rdar://problem/117892734>
Pull request: https://github.com/WebKit/WebKit/pull/19952
Committed 270260@main (f1a3f7b6d47e): <https://commits.webkit.org/270260@main> Reviewed commits have been landed. Closing PR #19952 and removing active labels.