mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-14 07:36:15 +00:00
ProgramBuilder: Migrate vectors to typ::TypePair
Used as a stepping stone to emitting the ast::Types instead. Bug: tint:724 Change-Id: I19d7df9ab684db598783235c1720586966a232e0 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/48683 Commit-Queue: Ben Clayton <bclayton@google.com> Reviewed-by: Antonio Maiorano <amaiorano@google.com>
This commit is contained in:
committed by
Commit Bot service account
parent
43073d8aa3
commit
e30ffeb02a
@@ -65,7 +65,8 @@ TEST_F(AstVectorTest, TypeName) {
|
||||
}
|
||||
|
||||
TEST_F(AstVectorTest, FriendlyName) {
|
||||
auto* v = ty.vec3<f32>();
|
||||
auto* f32 = create<F32>();
|
||||
auto* v = create<Vector>(f32, 3);
|
||||
EXPECT_EQ(v->FriendlyName(Symbols()), "vec3<f32>");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user