Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 2b981166c8cf856b285755b9ec1a0bc886b2b664 https://github.com/WebKit/WebKit/commit/2b981166c8cf856b285755b9ec1a0bc886b2b664 Author: Tadeu Zagallo <tzaga...@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 _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes