[webkit-changes] [WebKit/WebKit] 2b9811: [WGSL] Mangle struct fields
Tadeu Zagallo
noreply at github.com
Mon Oct 23 15:34:51 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 2b981166c8cf856b285755b9ec1a0bc886b2b664
https://github.com/WebKit/WebKit/commit/2b981166c8cf856b285755b9ec1a0bc886b2b664
Author: Tadeu Zagallo <tzagallo at apple.com>
Date: 2023-10-23 (Mon, 23 Oct 2023)
Changed paths:
M Source/WebGPU/WGSL/AST/ASTFieldAccessExpression.h
M Source/WebGPU/WGSL/GlobalVariableRewriter.cpp
M Source/WebGPU/WGSL/MangleNames.cpp
M Source/WebGPU/WGSL/tests/valid/name-mangling.wgsl
M Source/WebGPU/WGSL/tests/valid/packing.wgsl
Log Message:
-----------
[WGSL] Mangle struct fields
https://bugs.webkit.org/show_bug.cgi?id=263549
rdar://117369715
Reviewed by Mike Wyrzykowski.
Originally we didn't have enough type information to support mangling struct
members, but it works now.
* Source/WebGPU/WGSL/AST/ASTFieldAccessExpression.h:
* Source/WebGPU/WGSL/GlobalVariableRewriter.cpp:
(WGSL::RewriteGlobalVariables::getPacking):
* Source/WebGPU/WGSL/MangleNames.cpp:
(WGSL::NameManglerVisitor::visit):
* Source/WebGPU/WGSL/tests/valid/name-mangling.wgsl:
* Source/WebGPU/WGSL/tests/valid/packing.wgsl:
Canonical link: https://commits.webkit.org/269678@main
More information about the webkit-changes
mailing list