mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-13 07:06:11 +00:00
Add Symbol to alias.
This CL adds a Symbol alongside the name in the Alias type. The name will be removed in a future CL. Change-Id: I23fa77566cc7a2aead783b64c34c0cc3195df24b Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/35461 Commit-Queue: dan sinclair <dsinclair@chromium.org> Commit-Queue: Ben Clayton <bclayton@google.com> Auto-Submit: dan sinclair <dsinclair@chromium.org> Reviewed-by: Ben Clayton <bclayton@google.com>
This commit is contained in:
committed by
Commit Bot service account
parent
6b59bf45aa
commit
4226b6a1d8
@@ -421,7 +421,7 @@ TEST_F(ValidateControlBlockTest, SwitchCaseAlias_Pass) {
|
||||
// }
|
||||
|
||||
ast::type::U32 u32;
|
||||
ast::type::Alias my_int{"MyInt", &u32};
|
||||
ast::type::Alias my_int{mod()->RegisterSymbol("MyInt"), "MyInt", &u32};
|
||||
|
||||
auto* var = create<ast::Variable>(
|
||||
Source{}, // source
|
||||
|
||||
Reference in New Issue
Block a user