1; Test: SpvParserMemoryTest_ArrayLength_FromVar.spvasm 2; SPIR-V 3; Version: 1.0 4; Generator: Khronos SPIR-V Tools Assembler; 0 5; Bound: 101 6; Schema: 0 7OpCapability Shader 8OpMemoryModel Logical Simple 9OpEntryPoint Fragment %100 "main" 10OpExecutionMode %100 OriginUpperLeft 11OpName %myvar "myvar" 12OpMemberName %_struct_3 0 "first" 13OpMemberName %_struct_3 1 "rtarr" 14OpDecorate %_struct_3 Block 15OpMemberDecorate %_struct_3 0 Offset 0 16OpMemberDecorate %_struct_3 1 Offset 4 17OpDecorate %_runtimearr_uint ArrayStride 4 18OpDecorate %myvar DescriptorSet 0 19OpDecorate %myvar Binding 0 20%void = OpTypeVoid 21%6 = OpTypeFunction %void 22%uint = OpTypeInt 32 0 23%uint_0 = OpConstant %uint 0 24%uint_1 = OpConstant %uint 1 25%_runtimearr_uint = OpTypeRuntimeArray %uint 26%_struct_3 = OpTypeStruct %uint %_runtimearr_uint 27%_ptr_StorageBuffer__struct_3 = OpTypePointer StorageBuffer %_struct_3 28%_ptr_StorageBuffer_uint = OpTypePointer StorageBuffer %uint 29%myvar = OpVariable %_ptr_StorageBuffer__struct_3 StorageBuffer 30%100 = OpFunction %void None %6 31%12 = OpLabel 32%1 = OpArrayLength %uint %myvar 1 33OpReturn 34OpFunctionEnd 35 36