spirv-reader: handle tests SPIR-V validity, part 3

Bug: tint:765
Change-Id: I22a4851218a3dbcc95d17334e6c6ff41393c7016
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/50448
Commit-Queue: David Neto <dneto@google.com>
Reviewed-by: Alan Baker <alanbaker@google.com>
This commit is contained in:
David Neto 2021-05-11 01:47:43 +00:00 committed by Commit Bot service account
parent cc1e9e04fd
commit 3dcf2398b7
1 changed files with 2 additions and 1 deletions

View File

@ -1152,7 +1152,8 @@ using SpvParserHandleTest_DeclUnderspecifiedHandle =
TEST_P(SpvParserHandleTest_DeclUnderspecifiedHandle, Variable) { TEST_P(SpvParserHandleTest_DeclUnderspecifiedHandle, Variable) {
const auto assembly = Preamble() + R"( const auto assembly = Preamble() + R"(
OpEntryPoint GLCompute %main "main" OpEntryPoint Fragment %main "main"
OpExecutionMode %main OriginUpperLeft
OpDecorate %10 DescriptorSet 0 OpDecorate %10 DescriptorSet 0
OpDecorate %10 Binding 0 OpDecorate %10 Binding 0
)" + GetParam().decorations + )" + GetParam().decorations +