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 accessing field of primitive structs at consta…
…nt time https://bugs.webkit.org/show_bug.cgi?id=264420 rdar://118126948 Reviewed by Mike Wyrzykowski. While type checking, also compute the constant result of accessing a field from a constant primitive struct (e.g. as produced by frexp) * Source/WebGPU/WGSL/TypeCheck.cpp: (WGSL::TypeChecker::visit): * Source/WebGPU/WGSL/tests/valid/constants.wgsl: Canonical link: https://commits.webkit.org/270439@main
- Loading branch information