[webkit-changes] [WebKit/WebKit] a431b3: [WGSL] Generated switch statements are missing 'br...
Tadeu Zagallo
noreply at github.com
Tue Nov 7 09:06:40 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: a431b35bc795099f10776aa47b451948f58231e8
https://github.com/WebKit/WebKit/commit/a431b35bc795099f10776aa47b451948f58231e8
Author: Tadeu Zagallo <tzagallo at apple.com>
Date: 2023-11-07 (Tue, 07 Nov 2023)
Changed paths:
M Source/WebGPU/WGSL/Metal/MetalFunctionWriter.cpp
Log Message:
-----------
[WGSL] Generated switch statements are missing 'break' after each case
https://bugs.webkit.org/show_bug.cgi?id=264208
rdar://117947313
Reviewed by Mike Wyrzykowski.
As the title says, the code generation for switch statements was missing a break
at the end of each case.
* Source/WebGPU/WGSL/Metal/MetalFunctionWriter.cpp:
(WGSL::Metal::FunctionDefinitionWriter::visit):
Canonical link: https://commits.webkit.org/270327@main
More information about the webkit-changes
mailing list