|  | ; SPIR-V | 
|  | ; Version: 1.3 | 
|  | ; Generator: Google Tint Compiler; 1 | 
|  | ; Bound: 42 | 
|  | ; Schema: 0 | 
|  | OpCapability Shader | 
|  | OpMemoryModel Logical GLSL450 | 
|  | OpEntryPoint GLCompute %main "main" | 
|  | OpExecutionMode %main LocalSize 1 1 1 | 
|  | OpName %main "main" | 
|  | OpName %i "i" | 
|  | OpName %j "j" | 
|  | %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 | 
|  | %main = OpFunction %void None %3 | 
|  | %4 = OpLabel | 
|  | %i = OpVariable %_ptr_Function_int Function | 
|  | %j = 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 | 
|  | %15 = OpSLessThan %bool %14 %int_2 | 
|  | OpSelectionMerge %18 None | 
|  | OpBranchConditional %15 %18 %19 | 
|  | %19 = OpLabel | 
|  | OpBranch %9 | 
|  | %18 = OpLabel | 
|  | %20 = OpLoad %int %i | 
|  | OpSelectionMerge %23 None | 
|  | OpSwitch %20 %21 0 %22 | 
|  | %22 = OpLabel | 
|  | OpBranch %24 | 
|  | %24 = OpLabel | 
|  | OpStore %j %int_0 | 
|  | OpBranch %27 | 
|  | %27 = OpLabel | 
|  | OpLoopMerge %28 %26 None | 
|  | OpBranch %25 | 
|  | %25 = OpLabel | 
|  | %30 = OpLoad %int %j | 
|  | %31 = OpSLessThan %bool %30 %int_2 | 
|  | OpSelectionMerge %32 None | 
|  | OpBranchConditional %31 %32 %33 | 
|  | %33 = OpLabel | 
|  | OpBranch %28 | 
|  | %32 = OpLabel | 
|  | %34 = OpLoad %int %j | 
|  | OpSelectionMerge %37 None | 
|  | OpSwitch %34 %35 0 %36 | 
|  | %36 = OpLabel | 
|  | OpBranch %26 | 
|  | %35 = OpLabel | 
|  | OpBranch %37 | 
|  | %37 = OpLabel | 
|  | OpBranch %26 | 
|  | %26 = OpLabel | 
|  | %38 = OpLoad %int %j | 
|  | %39 = OpIAdd %int %38 %int_2 | 
|  | OpStore %j %39 | 
|  | OpBranch %27 | 
|  | %28 = OpLabel | 
|  | OpBranch %7 | 
|  | %21 = OpLabel | 
|  | OpBranch %23 | 
|  | %23 = OpLabel | 
|  | OpBranch %7 | 
|  | %7 = OpLabel | 
|  | %40 = OpLoad %int %i | 
|  | %41 = OpIAdd %int %40 %int_2 | 
|  | OpStore %i %41 | 
|  | OpBranch %8 | 
|  | %9 = OpLabel | 
|  | OpReturn | 
|  | OpFunctionEnd |