-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WGSL] Add parsing for directives #20623
Merged
webkit-commit-queue
merged 1 commit into
WebKit:main
from
tadeuzagallo:eng/WGSL-Add-parsing-for-directives
Nov 17, 2023
Merged
[WGSL] Add parsing for directives #20623
webkit-commit-queue
merged 1 commit into
WebKit:main
from
tadeuzagallo:eng/WGSL-Add-parsing-for-directives
Nov 17, 2023
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Member
EWS run on previous version of this PR (hash feb7e35) |
feb7e35
to
95d790b
Compare
EWS run on current version of this PR (hash 95d790b) |
mwyrzykowski
approved these changes
Nov 16, 2023
https://bugs.webkit.org/show_bug.cgi?id=264973 rdar://118522832 Reviewed by Mike Wyrzykowski. Add support for parsing enable, requires and diagnostic directives. * Source/WebGPU/WGSL/AST/AST.h: * Source/WebGPU/WGSL/AST/ASTDiagnostic.h: Copied from Source/WebGPU/WGSL/AST/ASTDirective.h. * Source/WebGPU/WGSL/AST/ASTDiagnosticAttribute.h: * Source/WebGPU/WGSL/AST/ASTDiagnosticDirective.h: Copied from Source/WebGPU/WGSL/AST/ASTDirective.h. * Source/WebGPU/WGSL/AST/ASTDirective.h: (WGSL::AST::Directive::Directive): (WGSL::AST::Directive::name const): Deleted. * Source/WebGPU/WGSL/AST/ASTForward.h: * Source/WebGPU/WGSL/AST/ASTNode.h: * Source/WebGPU/WGSL/AST/ASTStringDumper.cpp: (WGSL::AST::StringDumper::visit): * Source/WebGPU/WGSL/AST/ASTStringDumper.h: * Source/WebGPU/WGSL/AST/ASTVisitor.cpp: (WGSL::AST::Visitor::visit): * Source/WebGPU/WGSL/AST/ASTVisitor.h: * Source/WebGPU/WGSL/Parser.cpp: (WGSL::Parser<Lexer>::parseShader): (WGSL::Parser<Lexer>::parseEnableDirective): (WGSL::Parser<Lexer>::parseRequireDirective): (WGSL::Parser<Lexer>::parseAttribute): (WGSL::Parser<Lexer>::parseDiagnostic): * Source/WebGPU/WGSL/ParserPrivate.h: * Source/WebGPU/WGSL/WGSLEnums.cpp: * Source/WebGPU/WGSL/WGSLEnums.h: * Source/WebGPU/WGSL/WGSLShaderModule.h: (WGSL::ShaderModule::enabledExtensions): (WGSL::ShaderModule::requiredFeatures): * Source/WebGPU/WebGPU.xcodeproj/project.pbxproj: Canonical link: https://commits.webkit.org/270879@main
95d790b
to
5aa9fe8
Compare
Committed 270879@main (5aa9fe8): https://commits.webkit.org/270879@main Reviewed commits have been landed. Closing PR #20623 and removing active labels. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
5aa9fe8
95d790b