[webkit-changes] [WebKit/WebKit] 390f39: [WGSL] Prefix WGSL/ShaderModule to avoid build errors

Tadeu Zagallo noreply at github.com
Thu Feb 9 11:35:22 PST 2023


  Branch: refs/heads/eng/WGSL-Prefix-WGSLShaderModule-to-avoid-builderrors
  Home:   https://github.com/WebKit/WebKit
  Commit: 390f39542d74c7468bf116ef6d32c23e96421b4a
      https://github.com/WebKit/WebKit/commit/390f39542d74c7468bf116ef6d32c23e96421b4a
  Author: Tadeu Zagallo <tzagallo at apple.com>
  Date:   2023-02-09 (Thu, 09 Feb 2023)

  Changed paths:
    M Source/WebGPU/WGSL/AST/ASTStringDumper.cpp
    M Source/WebGPU/WGSL/AST/ASTVisitor.cpp
    M Source/WebGPU/WGSL/CallGraph.cpp
    M Source/WebGPU/WGSL/EntryPointRewriter.cpp
    M Source/WebGPU/WGSL/GlobalVariableRewriter.cpp
    M Source/WebGPU/WGSL/MangleNames.cpp
    M Source/WebGPU/WGSL/Metal/MetalFunctionWriter.cpp
    M Source/WebGPU/WGSL/Parser.cpp
    M Source/WebGPU/WGSL/ResolveTypeReferences.cpp
    R Source/WebGPU/WGSL/ShaderModule.h
    M Source/WebGPU/WGSL/TypeCheck.cpp
    M Source/WebGPU/WGSL/WGSL.cpp
    M Source/WebGPU/WGSL/WGSL.h
    A Source/WebGPU/WGSL/WGSLShaderModule.h
    M Source/WebGPU/WebGPU.xcodeproj/project.pbxproj

  Log Message:
  -----------
  [WGSL] Prefix WGSL/ShaderModule to avoid build errors
https://bugs.webkit.org/show_bug.cgi?id=252000
rdar://105231511

Reviewed by NOBODY (OOPS!).

Add a prefix to `WGSL/ShaderModule.h` since the build system was occasionally
confusing it with `WebGPU/ShaderModule.h`.

I also had to prefix some `Vector`s `WGSL.h` after reordering includes due to
the renaming, since there's also a `Vector` in WGSL (which was another naming
mistake, but I'll fix that in a separate patch).

* Source/WebGPU/WGSL/AST/ASTStringDumper.cpp:
* Source/WebGPU/WGSL/AST/ASTVisitor.cpp:
* Source/WebGPU/WGSL/CallGraph.cpp:
* Source/WebGPU/WGSL/EntryPointRewriter.cpp:
* Source/WebGPU/WGSL/GlobalVariableRewriter.cpp:
* Source/WebGPU/WGSL/MangleNames.cpp:
* Source/WebGPU/WGSL/Metal/MetalFunctionWriter.cpp:
* Source/WebGPU/WGSL/Parser.cpp:
* Source/WebGPU/WGSL/ResolveTypeReferences.cpp:
* Source/WebGPU/WGSL/ShaderModule.h: Removed.
* Source/WebGPU/WGSL/TypeCheck.cpp:
* Source/WebGPU/WGSL/WGSL.cpp:
* Source/WebGPU/WGSL/WGSL.h:
* Source/WebGPU/WebGPU.xcodeproj/project.pbxproj:




More information about the webkit-changes mailing list