| ; SPIR-V | 
 | ; Version: 1.3 | 
 | ; Generator: Google Tint Compiler; 1 | 
 | ; Bound: 29 | 
 | ; Schema: 0 | 
 |                OpCapability Shader | 
 |                OpMemoryModel Logical GLSL450 | 
 |                OpEntryPoint GLCompute %main "main" | 
 |                OpExecutionMode %main LocalSize 1 1 1 | 
 |                OpName %main "main" | 
 |                OpName %i "i" | 
 |        %void = OpTypeVoid | 
 |           %3 = OpTypeFunction %void | 
 |         %int = OpTypeInt 32 1 | 
 | %_ptr_Function_int = OpTypePointer Function %int | 
 |       %int_0 = OpConstant %int 0 | 
 |       %int_2 = OpConstant %int 2 | 
 |        %bool = OpTypeBool | 
 |       %int_1 = OpConstant %int 1 | 
 |        %main = OpFunction %void None %3 | 
 |           %4 = OpLabel | 
 |           %i = OpVariable %_ptr_Function_int Function | 
 |                OpBranch %5 | 
 |           %5 = OpLabel | 
 |                OpStore %i %int_0 | 
 |                OpBranch %8 | 
 |           %8 = OpLabel | 
 |                OpLoopMerge %9 %7 None | 
 |                OpBranch %6 | 
 |           %6 = OpLabel | 
 |          %14 = OpLoad %int %i None | 
 |          %15 = OpSLessThan %bool %14 %int_2 | 
 |                OpSelectionMerge %18 None | 
 |                OpBranchConditional %15 %18 %19 | 
 |          %19 = OpLabel | 
 |                OpBranch %9 | 
 |          %18 = OpLabel | 
 |          %20 = OpLoad %int %i None | 
 |                OpSelectionMerge %25 None | 
 |                OpSwitch %20 %21 0 %22 1 %23 2 %24 | 
 |          %22 = OpLabel | 
 |                OpBranch %7 | 
 |          %23 = OpLabel | 
 |                OpBranch %7 | 
 |          %24 = OpLabel | 
 |                OpBranch %7 | 
 |          %21 = OpLabel | 
 |                OpBranch %25 | 
 |          %25 = OpLabel | 
 |                OpBranch %7 | 
 |           %7 = OpLabel | 
 |          %26 = OpLoad %int %i None | 
 |          %27 = OpIAdd %int %26 %int_1 | 
 |                OpStore %i %27 None | 
 |                OpBranch %8 | 
 |           %9 = OpLabel | 
 |                OpReturn | 
 |                OpFunctionEnd |