[webkit-changes] [WebKit/WebKit] 525940: [WGSL] Prefix WGSL/ShaderModule to avoid build errors
Tadeu Zagallo
noreply at github.com
Thu Feb 9 11:44:39 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 5259405ac03bb2cebe68fc548ff2a3e6e71713b2
https://github.com/WebKit/WebKit/commit/5259405ac03bb2cebe68fc548ff2a3e6e71713b2
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 Myles C. Maxfield.
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:
Canonical link: https://commits.webkit.org/260074@main
More information about the webkit-changes
mailing list