1 OpCapability Shader 2 %1 = OpExtInstImport "GLSL.std.450" 3 OpMemoryModel Logical GLSL450 4 OpEntryPoint GLCompute %4 "main" 5 OpExecutionMode %4 LocalSize 1 1 1 6 OpSource ESSL 310 7 OpName %4 "main" 8 OpName %6 "f1(" 9 OpName %8 "f2(" 10 OpName %10 "f3(" 11 OpName %12 "f4(" 12 OpName %14 "f5(" 13 OpName %17 "BufferOut" 14 OpMemberName %17 0 "o" 15 OpName %19 "" 16 OpName %22 "BufferIn" 17 OpMemberName %22 0 "i" 18 OpName %24 "" 19 OpMemberDecorate %17 0 Offset 0 20 OpDecorate %17 BufferBlock 21 OpDecorate %19 DescriptorSet 0 22 OpDecorate %19 Binding 1 23 OpMemberDecorate %22 0 Offset 0 24 OpDecorate %22 Block 25 OpDecorate %24 DescriptorSet 0 26 OpDecorate %24 Binding 0 27 %2 = OpTypeVoid 28 %3 = OpTypeFunction %2 29 %16 = OpTypeInt 32 0 30 %17 = OpTypeStruct %16 31 %18 = OpTypePointer Uniform %17 32 %19 = OpVariable %18 Uniform 33 %20 = OpTypeInt 32 1 34 %21 = OpConstant %20 0 35 %22 = OpTypeStruct %16 36 %23 = OpTypePointer Uniform %22 37 %24 = OpVariable %23 Uniform 38 %25 = OpTypePointer Uniform %16 39 %31 = OpConstant %20 1 40 %36 = OpConstant %16 2 41 %6 = OpFunction %2 None %3 42 %7 = OpLabel 43 %26 = OpAccessChain %25 %24 %21 44 %27 = OpLoad %16 %26 45 %28 = OpAccessChain %25 %19 %21 46 OpStore %28 %27 47 OpReturn 48 OpFunctionEnd 49 %14 = OpFunction %2 None %3 50 %15 = OpLabel 51 %41 = OpAccessChain %25 %19 %21 52 %42 = OpLoad %16 %41 53 %43 = OpIAdd %16 %42 %36 54 %44 = OpAccessChain %25 %19 %21 55 OpStore %44 %43 56 OpReturn 57 OpFunctionEnd 58 %8 = OpFunction %2 None %3 59 %9 = OpLabel 60 %29 = OpAccessChain %25 %19 %21 61 %30 = OpLoad %16 %29 62 %32 = OpISub %16 %30 %31 63 OpStore %29 %32 64 OpReturn 65 OpFunctionEnd 66 %10 = OpFunction %2 None %3 67 %11 = OpLabel 68 %33 = OpAccessChain %25 %19 %21 69 %34 = OpLoad %16 %33 70 %35 = OpIAdd %16 %34 %31 71 OpStore %33 %35 72 OpReturn 73 OpFunctionEnd 74 %4 = OpFunction %2 None %3 75 %5 = OpLabel 76 %45 = OpFunctionCall %2 %6 77 %46 = OpFunctionCall %2 %8 78 %47 = OpFunctionCall %2 %10 79 %48 = OpFunctionCall %2 %12 80 %49 = OpFunctionCall %2 %14 81 OpReturn 82 OpFunctionEnd 83 %12 = OpFunction %2 None %3 84 %13 = OpLabel 85 %37 = OpAccessChain %25 %19 %21 86 %38 = OpLoad %16 %37 87 %39 = OpISub %16 %38 %36 88 %40 = OpAccessChain %25 %19 %21 89 OpStore %40 %39 90 OpReturn 91 OpFunctionEnd 92 93