-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[WebGPU] error: use of undeclared identifier 'inverseSqrt' opening ht…
…tps://threejs.org/examples/?q=webgpu#webgpu_clearcoat https://bugs.webkit.org/show_bug.cgi?id=264141 rdar://117892734 Reviewed by Mike Wyrzykowski. Add code generation for inverseSqrt, just translates directly to Metal's rsqrt * Source/WebGPU/WGSL/Metal/MetalFunctionWriter.cpp: (WGSL::Metal::FunctionDefinitionWriter::visit): * Source/WebGPU/WGSL/tests/valid/overload.wgsl: Canonical link: https://commits.webkit.org/270260@main
- Loading branch information
1 parent
8d5247e
commit f1a3f7b
Showing
2 changed files
with
20 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters