[webkit-changes] [WebKit/WebKit] cedb0d: [WGSL] shader, validation, decl, var:initializer_kind...
Tadeu Zagallo
noreply at github.com
Wed Feb 14 02:34:33 PST 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: cedb0d4044f0c16c34166bb89cc8ff9dfa539296
https://github.com/WebKit/WebKit/commit/cedb0d4044f0c16c34166bb89cc8ff9dfa539296
Author: Tadeu Zagallo <tzagallo at apple.com>
Date: 2024-02-14 (Wed, 14 Feb 2024)
Changed paths:
M Source/WebGPU/WGSL/TypeCheck.cpp
Log Message:
-----------
[WGSL] shader,validation,decl,var:initializer_kind:* is failing
https://bugs.webkit.org/show_bug.cgi?id=269080
rdar://122652837
Reviewed by Mike Wyrzykowski.
Validate that global variables do not use other global variables or call
user-defined functions in their initializers.
* Source/WebGPU/WGSL/TypeCheck.cpp:
(WGSL::TypeChecker::visitVariable):
(WGSL::TypeChecker::visit):
(WGSL::TypeChecker::isModuleScope const):
Canonical link: https://commits.webkit.org/274615@main
More information about the webkit-changes
mailing list