| ; Generator: Google Tint Compiler; 1 |
| OpMemoryModel Logical GLSL450 |
| OpEntryPoint GLCompute %main "main" |
| OpExecutionMode %main LocalSize 1 1 1 |
| %3 = OpTypeFunction %void |
| %_ptr_Function_int = OpTypePointer Function %int |
| %int_0 = OpConstant %int 0 |
| %int_2 = OpConstant %int 2 |
| %int_1 = OpConstant %int 1 |
| %main = OpFunction %void None %3 |
| %i = OpVariable %_ptr_Function_int Function |
| %i_0 = OpVariable %_ptr_Function_int Function |
| %15 = OpLoad %int %i_0 None |
| %16 = OpSLessThan %bool %15 %int_2 |
| OpSelectionMerge %19 None |
| OpBranchConditional %16 %19 %20 |
| %21 = OpLoad %int %i_0 None |
| OpSelectionMerge %24 None |
| %25 = OpLoad %int %i_0 None |
| OpSelectionMerge %28 None |
| %29 = OpLoad %int %i_0 None |
| %30 = OpIAdd %int %29 %int_1 |