1; Test: SpvParserMemoryTest_EmitStatement_AccessChain_VectorNonConstIndex.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" 12OpName %a_dynamic_index "a_dynamic_index" 13%void = OpTypeVoid 14%4 = OpTypeFunction %void 15%uint = OpTypeInt 32 0 16%v4uint = OpTypeVector %uint 4 17%uint_2 = OpConstant %uint 2 18%uint_42 = OpConstant %uint 42 19%_ptr_Private_uint = OpTypePointer Private %uint 20%_ptr_Private_v4uint = OpTypePointer Private %v4uint 21%myvar = OpVariable %_ptr_Private_v4uint Private 22%10 = OpVariable %_ptr_Private_v4uint Private 23%100 = OpFunction %void None %4 24%15 = OpLabel 25%11 = OpLoad %v4uint %10 26%12 = OpCompositeExtract %uint %11 2 27%a_dynamic_index = OpCopyObject %uint %12 28%2 = OpAccessChain %_ptr_Private_uint %myvar %a_dynamic_index 29OpStore %2 %uint_42 30OpReturn 31OpFunctionEnd 32 33