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 <dneto@google.com>
Auto-Submit: David Neto <dneto@google.com>
Reviewed-by: Ben Clayton <bclayton@google.com>
This commit is contained in:
David Neto 2020-11-30 22:53:25 +00:00 committed by Commit Bot service account
parent 95feb99a9d
commit 2082beed0f
1 changed files with 2 additions and 0 deletions

View File

@ -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"