; SPIR-V ; Version: 1.2 ; Generator: rspirv ; Bound: 41 OpCapability Shader OpCapability Linkage OpExtension "SPV_KHR_storage_buffer_storage_class" %1 = OpExtInstImport "GLSL.std.450" OpMemoryModel Logical GLSL450 OpSource GLSL 450 OpMemberName %8 0 "arr" OpName %8 "DynamicArray" OpName %11 "dynamic_array" OpName %12 "v" OpName %15 "f" OpName %22 "i" OpName %23 "v" OpName %24 "index_unsized" OpName %33 "i" OpName %34 "v" OpName %35 "index_dynamic_array" OpDecorate %7 ArrayStride 4 OpMemberDecorate %8 0 Offset 0 OpDecorate %11 DescriptorSet 0 OpDecorate %11 Binding 0 OpDecorate %8 Block %2 = OpTypeVoid %4 = OpTypeInt 32 1 %3 = OpConstant %4 10 %5 = OpTypeVector %4 2 %6 = OpTypeInt 32 0 %7 = OpTypeRuntimeArray %6 %8 = OpTypeStruct %7 %9 = OpTypePointer StorageBuffer %8 %10 = OpTypePointer StorageBuffer %7 %11 = OpVariable %9 StorageBuffer %13 = OpTypePointer Function %5 %16 = OpTypeFunction %2 %18 = OpTypePointer Function %4 %19 = OpConstant %6 0 %25 = OpTypeFunction %2 %4 %6 %27 = OpTypePointer StorageBuffer %6 %15 = OpFunction %2 None %16 %14 = OpLabel %12 = OpVariable %13 Function OpBranch %17 %17 = OpLabel %20 = OpAccessChain %18 %12 %19 OpStore %20 %3 OpReturn OpFunctionEnd %24 = OpFunction %2 None %25 %22 = OpFunctionParameter %4 %23 = OpFunctionParameter %6 %21 = OpLabel OpBranch %26 %26 = OpLabel %28 = OpAccessChain %27 %11 %19 %22 %29 = OpLoad %6 %28 %30 = OpIAdd %6 %29 %23 %31 = OpAccessChain %27 %11 %19 %22 OpStore %31 %30 OpReturn OpFunctionEnd %35 = OpFunction %2 None %25 %33 = OpFunctionParameter %4 %34 = OpFunctionParameter %6 %32 = OpLabel OpBranch %36 %36 = OpLabel %37 = OpAccessChain %27 %11 %19 %33 %38 = OpLoad %6 %37 %39 = OpIAdd %6 %38 %34 %40 = OpAccessChain %27 %11 %19 %33 OpStore %40 %39 OpReturn OpFunctionEnd