[webkit-changes] [WebKit/WebKit] 42ed41: [WGSL] Implement additive & multiplicative express...

Dan Glastonbury noreply at github.com
Sat Feb 11 13:43:53 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 42ed4169750a07eb3722672485888398f9048e68
      https://github.com/WebKit/WebKit/commit/42ed4169750a07eb3722672485888398f9048e68
  Author: Dan Glastonbury <djg at apple.com>
  Date:   2023-02-11 (Sat, 11 Feb 2023)

  Changed paths:
    M Source/WebGPU/WGSL/AST/ASTForward.h
    M Source/WebGPU/WGSL/Lexer.cpp
    M Source/WebGPU/WGSL/Parser.cpp
    M Source/WebGPU/WGSL/ParserPrivate.h
    M Source/WebGPU/WGSL/Token.cpp
    M Source/WebGPU/WGSL/Token.h
    M Source/WebGPU/WGSL/WGSL.h
    M Source/WebGPU/WGSL/WGSLShaderModule.h
    M Tools/TestWebKitAPI/Tests/WGSL/LexerTests.cpp
    M Tools/TestWebKitAPI/Tests/WGSL/ParserTests.cpp
    M Tools/TestWebKitAPI/Tests/WGSL/TestWGSLAPI.h

  Log Message:
  -----------
  [WGSL] Implement additive & multiplicative expression parsing
https://bugs.webkit.org/show_bug.cgi?id=251573
rdar://problem/104951203

Reviewed by Tadeu Zagallo.

Relanding with linking fix by moving parseExpression implement to WebGPU
module. Originally review in https://github.com/WebKit/WebKit/pull/9506

Implement parsing of expressions involving +, -, *, / and % with correct
precedence by handling -, / and % operators.

Canonical link: https://commits.webkit.org/260159@main




More information about the webkit-changes mailing list