Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: c02eeb8b9b22cd5effae9a654f36e61f24118beb
https://github.com/WebKit/WebKit/commit/c02eeb8b9b22cd5effae9a654f36e61f24118beb
Author: Tadeu Zagallo <[email protected]>
Date: 2023-10-23 (Mon, 23 Oct 2023)
Changed paths:
M Source/WebGPU/WGSL/Parser.cpp
M Source/WebGPU/WGSL/tests/valid/pointers.wgsl
Log Message:
-----------
[WGSL] Allow pointer operators on assignment targets
https://bugs.webkit.org/show_bug.cgi?id=263547
rdar://117369455
Reviewed by Mike Wyrzykowski.
The grammar allows for `*x` and `*x` to appear in the left-hand side of
assignments,
but our parser did not support it yet.
* Source/WebGPU/WGSL/Parser.cpp:
(WGSL::Parser<Lexer>::parseStatement):
(WGSL::Parser<Lexer>::parseLHSExpression):
* Source/WebGPU/WGSL/tests/valid/pointers.wgsl:
Canonical link: https://commits.webkit.org/269677@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes