[webkit-changes] [WebKit/WebKit] f1a3f7: [WebGPU] error: use of undeclared identifier 'inve...
Tadeu Zagallo
noreply at github.com
Mon Nov 6 02:08:08 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: f1a3f7b6d47ef09369ce3a36f21615dd11338eae
https://github.com/WebKit/WebKit/commit/f1a3f7b6d47ef09369ce3a36f21615dd11338eae
Author: Tadeu Zagallo <tzagallo at apple.com>
Date: 2023-11-06 (Mon, 06 Nov 2023)
Changed paths:
M Source/WebGPU/WGSL/Metal/MetalFunctionWriter.cpp
M Source/WebGPU/WGSL/tests/valid/overload.wgsl
Log Message:
-----------
[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
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
More information about the webkit-changes
mailing list