[webkit-changes] [WebKit/WebKit] e0823a: [WGSL] Non-entrypoint functions should also be man...
Tadeu Zagallo
noreply at github.com
Mon Jul 17 06:23:41 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: e0823a9855a218b22f7db94242571ed1a94699b4
https://github.com/WebKit/WebKit/commit/e0823a9855a218b22f7db94242571ed1a94699b4
Author: Tadeu Zagallo <tzagallo at apple.com>
Date: 2023-07-17 (Mon, 17 Jul 2023)
Changed paths:
M Source/WebGPU/WGSL/MangleNames.cpp
M Source/WebGPU/WGSL/tests/valid/global-used-by-callee.wgsl
A Source/WebGPU/WGSL/tests/valid/name-mangling.wgsl
M Source/WebGPU/WGSL/tests/valid/var-initialization-with-var.wgsl
Log Message:
-----------
[WGSL] Non-entrypoint functions should also be mangled
https://bugs.webkit.org/show_bug.cgi?id=258281
rdar://111004485
Reviewed by Dan Glastonbury.
In the mangling pass, although we visited all functions, we only mangled the
names of the entry points.
* Source/WebGPU/WGSL/MangleNames.cpp:
(WGSL::NameManglerVisitor::run):
* Source/WebGPU/WGSL/tests/valid/global-used-by-callee.wgsl:
* Source/WebGPU/WGSL/tests/valid/name-mangling.wgsl: Added.
* Source/WebGPU/WGSL/tests/valid/var-initialization-with-var.wgsl:
Canonical link: https://commits.webkit.org/266096@main
More information about the webkit-changes
mailing list