From fe7f7b33fb2855207b08df2215f9883d79816e91 Mon Sep 17 00:00:00 2001 From: Antonio Maiorano Date: Tue, 11 May 2021 13:11:30 +0000 Subject: [PATCH] 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 Reviewed-by: Ben Clayton --- src/resolver/host_shareable_validation_test.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/resolver/host_shareable_validation_test.cc b/src/resolver/host_shareable_validation_test.cc index 1f5fb08f46..908b4cb375 100644 --- a/src/resolver/host_shareable_validation_test.cc +++ b/src/resolver/host_shareable_validation_test.cc @@ -143,6 +143,7 @@ TEST_F(ResolverHostShareableValidationTest, NoError) { create(0), create(0), }); + WrapInFunction(); ASSERT_TRUE(r()->Resolve()) << r()->error(); }