[webkit-changes] [WebKit/WebKit] 07e900: [WGSL] Validate the types of let, const and overri...
Tadeu Zagallo
noreply at github.com
Thu Feb 15 04:18:17 PST 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 07e9008c10abb247206a9293a1c42873ede003ec
https://github.com/WebKit/WebKit/commit/07e9008c10abb247206a9293a1c42873ede003ec
Author: Tadeu Zagallo <tzagallo at apple.com>
Date: 2024-02-15 (Thu, 15 Feb 2024)
Changed paths:
M Source/WebGPU/WGSL/TypeCheck.cpp
Log Message:
-----------
[WGSL] Validate the types of let, const and override variables
https://bugs.webkit.org/show_bug.cgi?id=269374
rdar://122293575
Reviewed by Mike Wyrzykowski.
Check that the type of each of these kinds of declarations is valid according to
the spec table[1].
[1]: https://www.w3.org/TR/WGSL/#var-and-value
* Source/WebGPU/WGSL/TypeCheck.cpp:
(WGSL::TypeChecker::visitVariable):
Canonical link: https://commits.webkit.org/274713@main
More information about the webkit-changes
mailing list