[webkit-changes] [WebKit/WebKit] c87c37: [WGSL] Add code generation for compound assignment
Tadeu Zagallo
noreply at github.com
Tue Sep 19 04:58:01 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: c87c377e689b0a4caab44a9d4f664c07e84790d1
https://github.com/WebKit/WebKit/commit/c87c377e689b0a4caab44a9d4f664c07e84790d1
Author: Tadeu Zagallo <tzagallo at apple.com>
Date: 2023-09-19 (Tue, 19 Sep 2023)
Changed paths:
M Source/WebGPU/WGSL/Metal/MetalFunctionWriter.cpp
Log Message:
-----------
[WGSL] Add code generation for compound assignment
https://bugs.webkit.org/show_bug.cgi?id=261679
rdar://115657490
Reviewed by Dan Glastonbury.
We were missing an entry for AST::CompoundAssignmentStatement in MetalFunctionWriter,
which meant the default visitor function was called, resulting in the left and right
hand sides of the assignment being serialized, but not the assignment operator.
* Source/WebGPU/WGSL/Metal/MetalFunctionWriter.cpp:
(WGSL::Metal::FunctionDefinitionWriter::visit):
Canonical link: https://commits.webkit.org/268119@main
More information about the webkit-changes
mailing list