[webkit-changes] [WebKit/WebKit] 5353ac: [WGSL] Make function parameter nodes arena allocated

Tadeu Zagallo noreply at github.com
Tue May 9 10:09:14 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 5353ac427dc75694705483542f32c48f237e04a7
      https://github.com/WebKit/WebKit/commit/5353ac427dc75694705483542f32c48f237e04a7
  Author: Tadeu Zagallo <tzagallo at apple.com>
  Date:   2023-05-09 (Tue, 09 May 2023)

  Changed paths:
    M Source/WebGPU/WGSL/AST/ASTParameter.h
    M Source/WebGPU/WGSL/EntryPointRewriter.cpp
    M Source/WebGPU/WGSL/GlobalVariableRewriter.cpp
    M Source/WebGPU/WGSL/Parser.cpp
    M Source/WebGPU/WGSL/ParserPrivate.h
    M Source/WebGPU/WGSL/WGSLShaderModule.h

  Log Message:
  -----------
  [WGSL] Make function parameter nodes arena allocated
https://bugs.webkit.org/show_bug.cgi?id=256464
rdar://109039819

Reviewed by Mike Wyrzykowski.

Continue incrementally converting AST nodes to be arena allocated.

* Source/WebGPU/WGSL/AST/ASTParameter.h:
* Source/WebGPU/WGSL/EntryPointRewriter.cpp:
(WGSL::EntryPointRewriter::rewrite):
(WGSL::EntryPointRewriter::collectParameters):
(WGSL::EntryPointRewriter::appendBuiltins):
* Source/WebGPU/WGSL/GlobalVariableRewriter.cpp:
(WGSL::RewriteGlobalVariables::insertParameters):
* Source/WebGPU/WGSL/Parser.cpp:
(WGSL::Parser<Lexer>::parseParameter):
* Source/WebGPU/WGSL/ParserPrivate.h:
* Source/WebGPU/WGSL/WGSLShaderModule.h:
(WGSL::ShaderModule::append):

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




More information about the webkit-changes mailing list