[webkit-changes] [WebKit/WebKit] 3d1339: [WGSL] MetalFunctionWriter does not need to return...

Tadeu Zagallo noreply at github.com
Tue Mar 14 01:13:43 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 3d1339db3c1dc0001ecf5bccdd2ec707859e316d
      https://github.com/WebKit/WebKit/commit/3d1339db3c1dc0001ecf5bccdd2ec707859e316d
  Author: Tadeu Zagallo <tzagallo at apple.com>
  Date:   2023-03-14 (Tue, 14 Mar 2023)

  Changed paths:
    M Source/WebGPU/WGSL/Metal/MetalCodeGenerator.cpp
    M Source/WebGPU/WGSL/Metal/MetalFunctionWriter.cpp
    M Source/WebGPU/WGSL/Metal/MetalFunctionWriter.h

  Log Message:
  -----------
  [WGSL] MetalFunctionWriter does not need to return mangled names
https://bugs.webkit.org/show_bug.cgi?id=253517
rdar://106363925

Reviewed by Myles C. Maxfield.

The API was originally borrowed from our previous compiler, but we went in a different direction.

* Source/WebGPU/WGSL/Metal/MetalCodeGenerator.cpp:
(WGSL::Metal::generateMetalCode):
* Source/WebGPU/WGSL/Metal/MetalFunctionWriter.cpp:
(WGSL::Metal::emitMetalFunctions):
* Source/WebGPU/WGSL/Metal/MetalFunctionWriter.h:

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




More information about the webkit-changes mailing list