[webkit-changes] [WebKit/WebKit] 67c706: [WGSL] Add support for while statements
Tadeu Zagallo
noreply at github.com
Wed Sep 27 02:51:03 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 67c706376e768a8f5bf4495ca34e89e5fc1f662d
https://github.com/WebKit/WebKit/commit/67c706376e768a8f5bf4495ca34e89e5fc1f662d
Author: Tadeu Zagallo <tzagallo at apple.com>
Date: 2023-09-27 (Wed, 27 Sep 2023)
Changed paths:
M Source/WebGPU/WGSL/Metal/MetalFunctionWriter.cpp
M Source/WebGPU/WGSL/Parser.cpp
M Source/WebGPU/WGSL/ParserPrivate.h
M Source/WebGPU/WGSL/TypeCheck.cpp
A Source/WebGPU/WGSL/tests/invalid/while.wgsl
A Source/WebGPU/WGSL/tests/valid/while.wgsl
Log Message:
-----------
[WGSL] Add support for while statements
https://bugs.webkit.org/show_bug.cgi?id=262126
rdar://116064615
Reviewed by Mike Wyrzykowski.
* Source/WebGPU/WGSL/Metal/MetalFunctionWriter.cpp:
(WGSL::Metal::FunctionDefinitionWriter::visit):
* Source/WebGPU/WGSL/Parser.cpp:
(WGSL::Parser<Lexer>::parseStatement):
(WGSL::Parser<Lexer>::parseWhileStatement):
* Source/WebGPU/WGSL/ParserPrivate.h:
* Source/WebGPU/WGSL/TypeCheck.cpp:
(WGSL::TypeChecker::visit):
* Source/WebGPU/WGSL/tests/invalid/while.wgsl: Added.
* Source/WebGPU/WGSL/tests/valid/while.wgsl: Added.
Canonical link: https://commits.webkit.org/268501@main
More information about the webkit-changes
mailing list