[webkit-changes] [WebKit/WebKit] 024cc6: [WGSL] WTF::Vector no longer needs the explicit na...

Tadeu Zagallo noreply at github.com
Thu Mar 30 02:33:03 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 024cc6b236d244bd5f0798ec9f346d305511ba97
      https://github.com/WebKit/WebKit/commit/024cc6b236d244bd5f0798ec9f346d305511ba97
  Author: Tadeu Zagallo <tzagallo at apple.com>
  Date:   2023-03-30 (Thu, 30 Mar 2023)

  Changed paths:
    M Source/WebGPU/WGSL/Overload.h
    M Source/WebGPU/WGSL/TypeCheck.cpp
    M Source/WebGPU/WGSL/WGSL.h

  Log Message:
  -----------
  [WGSL] WTF::Vector no longer needs the explicit namespace
https://bugs.webkit.org/show_bug.cgi?id=254654
rdar://107359112

Reviewed by Myles C. Maxfield.

At one point, we had another Vector type used for type checking in the WGSL
namespace, which conflicted with WTF::Vector. Since then, we moved it into
WGSL::Types::Vector, and it's no longer necessary to use the qualified WTF::Vector

* Source/WebGPU/WGSL/Overload.h:
* Source/WebGPU/WGSL/TypeCheck.cpp:
(WGSL::TypeChecker::chooseOverload):
* Source/WebGPU/WGSL/WGSL.h:

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




More information about the webkit-changes mailing list