[webkit-changes] [WebKit/WebKit] 46529d: [WGSL] Make Attribute nodes arena alocated
Tadeu Zagallo
noreply at github.com
Tue May 2 01:20:11 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 46529df64a0b24a4e010d8000fd78ef2280cf936
https://github.com/WebKit/WebKit/commit/46529df64a0b24a4e010d8000fd78ef2280cf936
Author: Tadeu Zagallo <tzagallo at apple.com>
Date: 2023-05-02 (Tue, 02 May 2023)
Changed paths:
M Source/WebGPU/WGSL/AST/ASTAlignAttribute.h
M Source/WebGPU/WGSL/AST/ASTAttribute.h
M Source/WebGPU/WGSL/AST/ASTBindingAttribute.h
M Source/WebGPU/WGSL/AST/ASTBuiltinAttribute.h
M Source/WebGPU/WGSL/AST/ASTConstAttribute.h
M Source/WebGPU/WGSL/AST/ASTGroupAttribute.h
M Source/WebGPU/WGSL/AST/ASTIdAttribute.h
M Source/WebGPU/WGSL/AST/ASTInterpolateAttribute.h
M Source/WebGPU/WGSL/AST/ASTInvariantAttribute.h
M Source/WebGPU/WGSL/AST/ASTLocationAttribute.h
M Source/WebGPU/WGSL/AST/ASTParameter.h
M Source/WebGPU/WGSL/AST/ASTSizeAttribute.h
M Source/WebGPU/WGSL/AST/ASTStageAttribute.h
M Source/WebGPU/WGSL/AST/ASTWorkgroupSizeAttribute.h
M Source/WebGPU/WGSL/GlobalVariableRewriter.cpp
M Source/WebGPU/WGSL/Parser.cpp
Log Message:
-----------
[WGSL] Make Attribute nodes arena alocated
https://bugs.webkit.org/show_bug.cgi?id=256093
rdar://108661951
Reviewed by Myles C. Maxfield.
Slowly convert the AST nodes to be arena allocated, starting with attributes.
* Source/WebGPU/WGSL/AST/ASTAlignAttribute.h:
* Source/WebGPU/WGSL/AST/ASTAttribute.h:
* Source/WebGPU/WGSL/AST/ASTBindingAttribute.h:
* Source/WebGPU/WGSL/AST/ASTBuiltinAttribute.h:
* Source/WebGPU/WGSL/AST/ASTConstAttribute.h:
* Source/WebGPU/WGSL/AST/ASTGroupAttribute.h:
* Source/WebGPU/WGSL/AST/ASTIdAttribute.h:
* Source/WebGPU/WGSL/AST/ASTInterpolateAttribute.h:
* Source/WebGPU/WGSL/AST/ASTInvariantAttribute.h:
* Source/WebGPU/WGSL/AST/ASTLocationAttribute.h:
* Source/WebGPU/WGSL/AST/ASTParameter.h:
* Source/WebGPU/WGSL/AST/ASTSizeAttribute.h:
* Source/WebGPU/WGSL/AST/ASTStageAttribute.h:
* Source/WebGPU/WGSL/AST/ASTWorkgroupSizeAttribute.h:
* Source/WebGPU/WGSL/GlobalVariableRewriter.cpp:
(WGSL::RewriteGlobalVariables::insertStructs):
(WGSL::RewriteGlobalVariables::insertParameters):
* Source/WebGPU/WGSL/Parser.cpp:
(WGSL::Parser<Lexer>::parseAttribute):
Canonical link: https://commits.webkit.org/263577@main
More information about the webkit-changes
mailing list