-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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 support for increment and decrement statements #14339
[WGSL] Add support for increment and decrement statements #14339
Conversation
EWS run on previous version of this PR (hash 5e50fc5) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approval for the top commit, my assumption is the others will merge prior to this one
5e50fc5
to
f8edc9b
Compare
EWS run on current version of this PR (hash f8edc9b) |
https://bugs.webkit.org/show_bug.cgi?id=257315 rdar://109823828 Reviewed by Mike Wyrzykowski. Add support for `x++` and `x--` statements * Source/WebGPU/WGSL/AST/ASTDecrementIncrementStatement.cpp: Copied from Source/WebGPU/WGSL/AST/ASTDecrementIncrementStatement.h. (WGSL::AST::printInternal): * Source/WebGPU/WGSL/AST/ASTDecrementIncrementStatement.h: * Source/WebGPU/WGSL/AST/ASTStringDumper.cpp: (WGSL::AST::StringDumper::visit): * Source/WebGPU/WGSL/AST/ASTStringDumper.h: * Source/WebGPU/WGSL/Metal/MetalFunctionWriter.cpp: (WGSL::Metal::FunctionDefinitionWriter::visit): * Source/WebGPU/WGSL/Parser.cpp: (WGSL::Parser<Lexer>::parseStatement): * Source/WebGPU/WGSL/TypeCheck.cpp: (WGSL::TypeChecker::visit): * Source/WebGPU/WGSL/tests/invalid/references.wgsl: * Source/WebGPU/WGSL/tests/valid/references.wgsl: * Source/WebGPU/WebGPU.xcodeproj/project.pbxproj: Canonical link: https://commits.webkit.org/264575@main
f8edc9b
to
dd11610
Compare
Committed 264575@main (dd11610): https://commits.webkit.org/264575@main Reviewed commits have been landed. Closing PR #14339 and removing active labels. |
dd11610
f8edc9b
π wincairoπ§ͺ api-macπ§ͺ gtk-wk2π§ͺ api-iosπ§ͺ mac-AS-debug-wk2