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