WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
264141
[WebGPU] error: use of undeclared identifier 'inverseSqrt' opening
https://threejs.org/examples/?q=webgpu#webgpu_clearcoat
https://bugs.webkit.org/show_bug.cgi?id=264141
Summary
[WebGPU] error: use of undeclared identifier 'inverseSqrt' opening https://th...
Mike Wyrzykowski
Reported
2023-11-02 23:37:35 PDT
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))));
Attachments
ThreeJS wgsl source
(18.55 KB, text/plain)
2023-11-02 23:37 PDT
,
Mike Wyrzykowski
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2023-11-02 23:37:52 PDT
<
rdar://problem/117892734
>
Tadeu Zagallo
Comment 2
2023-11-03 08:06:56 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/19952
EWS
Comment 3
2023-11-06 02:07:58 PST
Committed
270260@main
(f1a3f7b6d47e): <
https://commits.webkit.org/270260@main
> Reviewed commits have been landed. Closing PR #19952 and removing active labels.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug