[webkit-changes] [WebKit/WebKit] e841f2: [WGSL] Add support for atomicAnd
Tadeu Zagallo
noreply at github.com
Tue Nov 28 05:53:35 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: e841f2403c533d84b0db5c8c79c9614b29f11820
https://github.com/WebKit/WebKit/commit/e841f2403c533d84b0db5c8c79c9614b29f11820
Author: Tadeu Zagallo <tzagallo at apple.com>
Date: 2023-11-28 (Tue, 28 Nov 2023)
Changed paths:
M Source/WebGPU/WGSL/Metal/MetalFunctionWriter.cpp
M Source/WebGPU/WGSL/TypeDeclarations.rb
M Source/WebGPU/WGSL/tests/valid/overload.wgsl
Log Message:
-----------
[WGSL] Add support for atomicAnd
https://bugs.webkit.org/show_bug.cgi?id=265393
rdar://118843093
Reviewed by Mike Wyrzykowski.
For some reason we supported all the atomic built-in functions, but missed atomicAnd.
* Source/WebGPU/WGSL/Metal/MetalFunctionWriter.cpp:
(WGSL::Metal::emitAtomicAnd):
(WGSL::Metal::FunctionDefinitionWriter::visit):
* Source/WebGPU/WGSL/TypeDeclarations.rb:
* Source/WebGPU/WGSL/tests/valid/overload.wgsl:
Canonical link: https://commits.webkit.org/271203@main
More information about the webkit-changes
mailing list