From 5791197e804402741d7409b83b3e9f637efccba1 Mon Sep 17 00:00:00 2001 From: David Neto Date: Tue, 4 Jan 2022 20:23:19 +0000 Subject: [PATCH] fix spirv-reader test: add Block decoration Fixes a SPIR-V validation error. Change-Id: I51bf887d1e2b55760e5512648074ae349a90a15e Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/74802 Auto-Submit: David Neto Kokoro: Kokoro Reviewed-by: Ben Clayton Commit-Queue: David Neto --- src/reader/spirv/parser_impl_module_var_test.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/reader/spirv/parser_impl_module_var_test.cc b/src/reader/spirv/parser_impl_module_var_test.cc index df03435317..a8c683ccc9 100644 --- a/src/reader/spirv/parser_impl_module_var_test.cc +++ b/src/reader/spirv/parser_impl_module_var_test.cc @@ -370,6 +370,7 @@ TEST_F(SpvModuleScopeVarParserTest, OpEntryPoint Vertex %main "main" %1 ; scramble the member indices + OpDecorate %10 Block OpMemberDecorate %10 0 BuiltIn ClipDistance OpMemberDecorate %10 1 BuiltIn CullDistance OpMemberDecorate %10 2 BuiltIn Position