mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-08-04 11:15:46 +00:00
type::Struct does not have an ast::Struct declaration, so use that for builtin structures. Fix up logic that assumed sem::Struct for both user-declared and builtin structures to use type::Struct instead. Assert in the sem::Struct and sem::StructMember that the AST node is not nullptr. Change-Id: Ic8fcf27d5610c814ea3b504694c6a94db6cf1191 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/129483 Reviewed-by: Dan Sinclair <dsinclair@chromium.org> Commit-Queue: Ben Clayton <bclayton@google.com> Kokoro: Ben Clayton <bclayton@google.com>