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