Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 67c706376e768a8f5bf4495ca34e89e5fc1f662d
      
https://github.com/WebKit/WebKit/commit/67c706376e768a8f5bf4495ca34e89e5fc1f662d
  Author: Tadeu Zagallo <tzaga...@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


_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to