1; SPIR-V 2; Version: 1.3 3; Generator: Google Tint Compiler; 0 4; Bound: 26 5; Schema: 0 6 OpCapability Shader 7 OpMemoryModel Logical GLSL450 8 OpEntryPoint GLCompute %unused_entry_point "unused_entry_point" 9 OpExecutionMode %unused_entry_point LocalSize 1 1 1 10 OpName %unused_entry_point "unused_entry_point" 11 OpName %f "f" 12 OpName %i "i" 13 %void = OpTypeVoid 14 %1 = OpTypeFunction %void 15 %int = OpTypeInt 32 1 16 %5 = OpTypeFunction %int 17%_ptr_Function_int = OpTypePointer Function %int 18 %11 = OpConstantNull %int 19 %int_1 = OpConstant %int 1 20 %int_4 = OpConstant %int 4 21 %bool = OpTypeBool 22%unused_entry_point = OpFunction %void None %1 23 %4 = OpLabel 24 OpReturn 25 OpFunctionEnd 26 %f = OpFunction %int None %5 27 %8 = OpLabel 28 %i = OpVariable %_ptr_Function_int Function %11 29 OpBranch %12 30 %12 = OpLabel 31 OpLoopMerge %13 %14 None 32 OpBranch %15 33 %15 = OpLabel 34 %16 = OpLoad %int %i 35 %18 = OpIAdd %int %16 %int_1 36 OpStore %i %18 37 %19 = OpLoad %int %i 38 %21 = OpSGreaterThan %bool %19 %int_4 39 OpSelectionMerge %23 None 40 OpBranchConditional %21 %24 %23 41 %24 = OpLabel 42 %25 = OpLoad %int %i 43 OpReturnValue %25 44 %23 = OpLabel 45 OpBranch %14 46 %14 = OpLabel 47 OpBranch %12 48 %13 = OpLabel 49 OpReturnValue %11 50 OpFunctionEnd 51