-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[WGSL] shader,validation,decl,var:* is failing
https://bugs.webkit.org/show_bug.cgi?id=268878 rdar://122436149 Reviewed by Mike Wyrzykowski. Validate the type of variable declarations according to the spec rules[1] based on the address space and access mode. [1]: https://www.w3.org/TR/WGSL/#var-and-value * Source/WebGPU/WGSL/TypeCheck.cpp: (WGSL::TypeChecker::visitVariable): * Source/WebGPU/WGSL/Types.cpp: (WGSL::Type::isStorable const): (WGSL::Type::isHostShareable const): (WGSL::Type::hasFixedFootprint const): * Source/WebGPU/WGSL/Types.h: Canonical link: https://commits.webkit.org/274243@main
- Loading branch information
1 parent
446cdce
commit 200045f
Showing
3 changed files
with
188 additions
and
10 deletions.
There are no files selected for viewing
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
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
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