Skip to content

Commit b8b90db

Browse files
authored
spirv-val: fix graph tests following KhronosGroup#6242 (KhronosGroup#6246)
KhronosGroup#6242 flagged issues in KhronosGroup#6177 that was merged just before. Change-Id: I6399ac822f4cae9ef0f79c1754bda155ae70eb36 Signed-off-by: Kevin Petit <[email protected]>
1 parent bed3bda commit b8b90db

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

test/val/val_graph_test.cpp

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,14 @@ std::string GenerateModule(const std::string& src) {
4040
OpExtension "SPV_ARM_graph"
4141
OpExtension "SPV_ARM_tensors"
4242
OpMemoryModel Logical Vulkan
43+
OpDecorate %var_int8tensor DescriptorSet 0
44+
OpDecorate %var_int8tensor Binding 0
45+
OpDecorate %var_int32tensor DescriptorSet 0
46+
OpDecorate %var_int32tensor Binding 1
47+
OpDecorate %var_int8tensor_array3 DescriptorSet 0
48+
OpDecorate %var_int8tensor_array3 Binding 2
49+
OpDecorate %var_int8tensor_runtime_array DescriptorSet 0
50+
OpDecorate %var_int8tensor_runtime_array Binding 3
4351
%void = OpTypeVoid
4452
%uint = OpTypeInt 32 0
4553
%int8 = OpTypeInt 8 1

0 commit comments

Comments
 (0)