[spirv-writer] Stub out more accessor tests
This CL adds more tests to be written for the accessor code. Bug: tint:5 Change-Id: Ie3a349bfb372dc7f8069d2117bf4fdd48f2da07a Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/20621 Reviewed-by: Ryan Harrison <rharrison@chromium.org>
This commit is contained in:
parent
b5b960ed49
commit
a308ae2a7f
|
@ -509,14 +509,26 @@ TEST_F(BuilderTest, MemberAccessor_Swizzle_Single) {
|
||||||
)");
|
)");
|
||||||
}
|
}
|
||||||
|
|
||||||
TEST_F(BuilderTest, DISABLED_MemberAccessor_Swizzle_Multiple) {
|
TEST_F(BuilderTest, DISABLED_MemberAccessor_Swizzle_MultipleNames) {
|
||||||
// vec.yx
|
// vec.yx
|
||||||
}
|
}
|
||||||
|
|
||||||
TEST_F(BuilderTest, DISABLED_Accessor_Mixed) {
|
TEST_F(BuilderTest, DISABLED_Accessor_Mixed_ArrayAndMember) {
|
||||||
// a[0].foo[2].bar.baz.yx
|
// a[0].foo[2].bar.baz.yx
|
||||||
}
|
}
|
||||||
|
|
||||||
|
TEST_F(BuilderTest, DISABLED_MemberAccessor_Swizzle_of_Swizzle) {
|
||||||
|
// vec.yxz.xz
|
||||||
|
}
|
||||||
|
|
||||||
|
TEST_F(BuilderTest, DISABLED_MemberAccessor_Member_of_Swizzle) {
|
||||||
|
// vec.yxz.x
|
||||||
|
}
|
||||||
|
|
||||||
|
TEST_F(BuilderTest, DISABLED_MemberAccessor_Array_of_Swizzle) {
|
||||||
|
// vec.yxz[1]
|
||||||
|
}
|
||||||
|
|
||||||
} // namespace
|
} // namespace
|
||||||
} // namespace spirv
|
} // namespace spirv
|
||||||
} // namespace writer
|
} // namespace writer
|
||||||
|
|
Loading…
Reference in New Issue