; SPIR-V ; Version: 1.1 ; Generator: rspirv ; Bound: 61 OpCapability Shader OpCapability ShaderNonUniform OpExtension "SPV_KHR_storage_buffer_storage_class" OpExtension "SPV_EXT_descriptor_indexing" %1 = OpExtInstImport "GLSL.std.450" OpMemoryModel Logical GLSL450 OpEntryPoint Fragment %26 "main" %21 %24 OpExecutionMode %26 OriginUpperLeft OpMemberDecorate %4 0 Offset 0 OpMemberDecorate %5 0 Offset 0 OpMemberDecorate %8 0 Offset 0 OpDecorate %9 NonWritable OpDecorate %9 DescriptorSet 0 OpDecorate %9 Binding 0 OpDecorate %5 Block OpDecorate %13 DescriptorSet 0 OpDecorate %13 Binding 10 OpDecorate %14 Block OpMemberDecorate %14 0 Offset 0 OpDecorate %21 Location 0 OpDecorate %21 Flat OpDecorate %24 Location 0 OpDecorate %53 NonUniform %2 = OpTypeVoid %3 = OpTypeInt 32 0 %4 = OpTypeStruct %3 %5 = OpTypeStruct %3 %7 = OpConstant %3 1 %6 = OpTypeArray %5 %7 %8 = OpTypeStruct %3 %12 = OpConstant %3 10 %11 = OpTypeArray %5 %12 %10 = OpTypePointer StorageBuffer %11 %9 = OpVariable %10 StorageBuffer %14 = OpTypeStruct %4 %15 = OpTypePointer Uniform %14 %13 = OpVariable %15 Uniform %17 = OpTypePointer Function %3 %18 = OpConstantNull %3 %22 = OpTypePointer Input %3 %21 = OpVariable %22 Input %25 = OpTypePointer Output %3 %24 = OpVariable %25 Output %27 = OpTypeFunction %2 %28 = OpTypePointer Uniform %4 %29 = OpConstant %3 0 %31 = OpTypePointer StorageBuffer %6 %33 = OpTypePointer Uniform %3 %37 = OpTypePointer StorageBuffer %5 %38 = OpTypePointer StorageBuffer %3 %44 = OpTypeBool %26 = OpFunction %2 None %27 %19 = OpLabel %16 = OpVariable %17 Function %18 %23 = OpLoad %3 %21 %20 = OpCompositeConstruct %8 %23 %30 = OpAccessChain %28 %13 %29 OpBranch %32 %32 = OpLabel %34 = OpAccessChain %33 %30 %29 %35 = OpLoad %3 %34 %36 = OpCompositeExtract %3 %20 0 OpStore %16 %29 %39 = OpAccessChain %38 %9 %29 %29 %40 = OpLoad %3 %39 %41 = OpLoad %3 %16 %42 = OpIAdd %3 %41 %40 OpStore %16 %42 %43 = OpULessThan %44 %35 %7 OpSelectionMerge %46 None OpBranchConditional %43 %47 %46 %47 = OpLabel %45 = OpAccessChain %38 %9 %35 %29 %48 = OpLoad %3 %45 OpBranch %46 %46 = OpLabel %49 = OpPhi %3 %18 %32 %48 %47 %50 = OpLoad %3 %16 %51 = OpIAdd %3 %50 %49 OpStore %16 %51 %52 = OpULessThan %44 %36 %7 OpSelectionMerge %54 None OpBranchConditional %52 %55 %54 %55 = OpLabel %53 = OpAccessChain %38 %9 %36 %29 %56 = OpLoad %3 %53 OpBranch %54 %54 = OpLabel %57 = OpPhi %3 %18 %46 %56 %55 %58 = OpLoad %3 %16 %59 = OpIAdd %3 %58 %57 OpStore %16 %59 %60 = OpLoad %3 %16 OpStore %24 %60 OpReturn OpFunctionEnd