From 2082beed0f7e4e6ea4c16f6559c304b7a0e3259b Mon Sep 17 00:00:00 2001 From: David Neto Date: Mon, 30 Nov 2020 22:53:25 +0000 Subject: [PATCH] spirv-reader: Add entry point declaration to handle test Bug: tint:109 Change-Id: I25645944061b8b247eda442b61f4591a9359ec4f Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/34422 Commit-Queue: David Neto Auto-Submit: David Neto Reviewed-by: Ben Clayton --- src/reader/spirv/parser_impl_handle_test.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/reader/spirv/parser_impl_handle_test.cc b/src/reader/spirv/parser_impl_handle_test.cc index 655f11b5a7..704e6546f8 100644 --- a/src/reader/spirv/parser_impl_handle_test.cc +++ b/src/reader/spirv/parser_impl_handle_test.cc @@ -1208,6 +1208,8 @@ using SpvParserTest_DeclHandle_SampledImage = TEST_P(SpvParserTest_DeclHandle_SampledImage, Variable) { const auto assembly = Preamble() + R"( + OpEntryPoint Fragment %main "main" + OpExecutionMode %main OriginUpperLeft OpName %f1 "f1" OpName %vf12 "vf12" OpName %vf123 "vf123"