mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-07-10 07:05:54 +00:00
Fix test: "No OpEntryPoint instruction was found"
Bug found when passing program through spirv writer and then reader. Bug: tint:792 Change-Id: I2acb17554b122c840cf3cc69149f6e004fb37bc7 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/50562 Commit-Queue: Antonio Maiorano <amaiorano@google.com> Reviewed-by: Ben Clayton <bclayton@google.com>
This commit is contained in:
parent
97a7d266e0
commit
fe7f7b33fb
@ -143,6 +143,7 @@ TEST_F(ResolverHostShareableValidationTest, NoError) {
|
|||||||
create<ast::BindingDecoration>(0),
|
create<ast::BindingDecoration>(0),
|
||||||
create<ast::GroupDecoration>(0),
|
create<ast::GroupDecoration>(0),
|
||||||
});
|
});
|
||||||
|
WrapInFunction();
|
||||||
|
|
||||||
ASSERT_TRUE(r()->Resolve()) << r()->error();
|
ASSERT_TRUE(r()->Resolve()) << r()->error();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user