Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: ed3e8618c480bac24818e081b0e365954f09bf5c https://github.com/WebKit/WebKit/commit/ed3e8618c480bac24818e081b0e365954f09bf5c Author: Tadeu Zagallo <tzaga...@apple.com> Date: 2023-03-30 (Thu, 30 Mar 2023)
Changed paths: A Source/WebGPU/Configurations/wgslc.xcconfig A Source/WebGPU/WGSL/wgslc.cpp M Source/WebGPU/WebGPU.xcodeproj/project.pbxproj M Source/WebGPU/WebGPU.xcodeproj/xcshareddata/xcschemes/WebGPU.xcscheme Log Message: ----------- [WGSL] Re-land the command line tool to run the compiler https://bugs.webkit.org/show_bug.cgi?id=253892 rdar://106708690 Reviewed by Nobody (OOPS). This was originally landed in https://commits.webkit.org/261911@main, but later reverted because it caused build problems. I believed the build issues were caused by the WebGPU project lacking the `buildImplicitDependencies` flag, and local testing suggests it fixes the issue. Original commit message: Add a `wgslc` command line executable to invoke the compiler. This will be used to add compiler tests without requiring the rest of WebGPU. * Source/WebGPU/Configurations/wgslc.xcconfig: Added. * Source/WebGPU/WGSL/wgslc.cpp: Added. (printUsageStatement): (CommandLine::CommandLine): (CommandLine::file const): (CommandLine::entrypoint const): (CommandLine::dumpASTAfterCheck const): (CommandLine::dumpASTAtEnd const): (CommandLine::dumpGeneratedCode const): (CommandLine::parseArguments): (runWGSL): (main): * Source/WebGPU/WebGPU.xcodeproj/project.pbxproj: * Source/WebGPU/WebGPU.xcodeproj/xcshareddata/xcschemes/WebGPU.xcscheme: Canonical link: https://commits.webkit.org/262324@main _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes