[webkit-changes] [WebKit/WebKit] 4d5fe1: [WGSL] Global variables don't need to be mangled

Tadeu Zagallo noreply at github.com
Mon May 22 00:09:07 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 4d5fe1667498ade1a7ad5edf54d4542e852f6f15
      https://github.com/WebKit/WebKit/commit/4d5fe1667498ade1a7ad5edf54d4542e852f6f15
  Author: Tadeu Zagallo <tzagallo at apple.com>
  Date:   2023-05-22 (Mon, 22 May 2023)

  Changed paths:
    M Source/WebGPU/WGSL/MangleNames.cpp

  Log Message:
  -----------
  [WGSL] Global variables don't need to be mangled
https://bugs.webkit.org/show_bug.cgi?id=257025
rdar://109564753

Reviewed by Myles C. Maxfield.

The final program does not contain any global variables,
so we don't need to mangle them

* Source/WebGPU/WGSL/MangleNames.cpp:
(WGSL::MangledName::toString const):
(WGSL::NameManglerVisitor::visitFunctionBody):
(WGSL::NameManglerVisitor::visit):

Canonical link: https://commits.webkit.org/264313@main




More information about the webkit-changes mailing list