; 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 OpSource GLSL 450 OpMemberName %8 0 "arr" OpName %8 "DynamicArray" OpName %11 "dynamic_array" OpName %12 "v" OpName %16 "f" OpName %23 "i" OpName %24 "v" OpName %25 "index_unsized" OpName %34 "i" OpName %35 "v" OpName %36 "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 %14 = OpConstantNull %5 %17 = OpTypeFunction %2 %19 = OpTypePointer Function %4 %20 = OpConstant %6 0 %26 = OpTypeFunction %2 %4 %6 %28 = OpTypePointer StorageBuffer %6 %16 = OpFunction %2 None %17 %15 = OpLabel %12 = OpVariable %13 Function %14 OpBranch %18 %18 = OpLabel %21 = OpAccessChain %19 %12 %20 OpStore %21 %3 OpReturn OpFunctionEnd %25 = OpFunction %2 None %26 %23 = OpFunctionParameter %4 %24 = OpFunctionParameter %6 %22 = OpLabel OpBranch %27 %27 = OpLabel %29 = OpAccessChain %28 %11 %20 %23 %30 = OpLoad %6 %29 %31 = OpIAdd %6 %30 %24 %32 = OpAccessChain %28 %11 %20 %23 OpStore %32 %31 OpReturn OpFunctionEnd %36 = OpFunction %2 None %26 %34 = OpFunctionParameter %4 %35 = OpFunctionParameter %6 %33 = OpLabel OpBranch %37 %37 = OpLabel %38 = OpAccessChain %28 %11 %20 %34 %39 = OpLoad %6 %38 %40 = OpIAdd %6 %39 %35 %41 = OpAccessChain %28 %11 %20 %34 OpStore %41 %40 OpReturn OpFunctionEnd