-
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] Add support for constant structs
https://bugs.webkit.org/show_bug.cgi?id=269710 rdar://123238708 Reviewed by Mike Wyrzykowski. We already had ConstantStruct, but it was only being used for primitive structs (like the one returned by frexp), so we just needed to create the constant values and add the lookup logic to FieldAccessExpression. * Source/WebGPU/WGSL/TypeCheck.cpp: (WGSL::TypeChecker::visit): (WGSL::TypeChecker::convertValueImpl): Canonical link: https://commits.webkit.org/275043@main
- Loading branch information
1 parent
4d69396
commit 3cfd9dd
Showing
2 changed files
with
33 additions
and
9 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