1OpCapability Shader 2%1 = OpExtInstImport "GLSL.std.450" 3OpMemoryModel Logical GLSL450 4OpEntryPoint Fragment %_entrypoint_v "_entrypoint" %sk_FragColor %sk_Clockwise 5OpExecutionMode %_entrypoint_v OriginUpperLeft 6OpName %sk_FragColor "sk_FragColor" 7OpName %sk_Clockwise "sk_Clockwise" 8OpName %_entrypoint_v "_entrypoint_v" 9OpName %main "main" 10OpName %b "b" 11OpName %c "c" 12OpName %x "x" 13OpName %d "d" 14OpDecorate %sk_FragColor RelaxedPrecision 15OpDecorate %sk_FragColor Location 0 16OpDecorate %sk_FragColor Index 0 17OpDecorate %sk_Clockwise BuiltIn FrontFacing 18OpDecorate %51 RelaxedPrecision 19OpDecorate %54 RelaxedPrecision 20OpDecorate %58 RelaxedPrecision 21OpDecorate %62 RelaxedPrecision 22OpDecorate %63 RelaxedPrecision 23%float = OpTypeFloat 32 24%v4float = OpTypeVector %float 4 25%_ptr_Output_v4float = OpTypePointer Output %v4float 26%sk_FragColor = OpVariable %_ptr_Output_v4float Output 27%bool = OpTypeBool 28%_ptr_Input_bool = OpTypePointer Input %bool 29%sk_Clockwise = OpVariable %_ptr_Input_bool Input 30%void = OpTypeVoid 31%12 = OpTypeFunction %void 32%v2float = OpTypeVector %float 2 33%float_0 = OpConstant %float 0 34%16 = OpConstantComposite %v2float %float_0 %float_0 35%_ptr_Function_v2float = OpTypePointer Function %v2float 36%20 = OpTypeFunction %v4float %_ptr_Function_v2float 37%_ptr_Function_float = OpTypePointer Function %float 38%float_2 = OpConstant %float 2 39%float_3 = OpConstant %float 3 40%int = OpTypeInt 32 1 41%_ptr_Function_int = OpTypePointer Function %int 42%int_0 = OpConstant %int 0 43%int_1 = OpConstant %int 1 44%float_1 = OpConstant %float 1 45%float_5 = OpConstant %float 5 46%float_4 = OpConstant %float 4 47%_entrypoint_v = OpFunction %void None %12 48%13 = OpLabel 49%17 = OpVariable %_ptr_Function_v2float Function 50OpStore %17 %16 51%19 = OpFunctionCall %v4float %main %17 52OpStore %sk_FragColor %19 53OpReturn 54OpFunctionEnd 55%main = OpFunction %v4float None %20 56%21 = OpFunctionParameter %_ptr_Function_v2float 57%22 = OpLabel 58%b = OpVariable %_ptr_Function_float Function 59%c = OpVariable %_ptr_Function_float Function 60%x = OpVariable %_ptr_Function_int Function 61%d = OpVariable %_ptr_Function_float Function 62OpStore %b %float_2 63OpStore %c %float_3 64OpStore %x %int_0 65OpBranch %32 66%32 = OpLabel 67OpLoopMerge %36 %35 None 68OpBranch %33 69%33 = OpLabel 70%37 = OpLoad %int %x 71%39 = OpSLessThan %bool %37 %int_1 72OpBranchConditional %39 %34 %36 73%34 = OpLabel 74OpBranch %35 75%35 = OpLabel 76%40 = OpLoad %int %x 77%41 = OpIAdd %int %40 %int_1 78OpStore %x %41 79OpBranch %32 80%36 = OpLabel 81%43 = OpLoad %float %c 82OpStore %d %43 83%44 = OpLoad %float %b 84%46 = OpFAdd %float %44 %float_1 85OpStore %b %46 86%47 = OpLoad %float %d 87%48 = OpFAdd %float %47 %float_1 88OpStore %d %48 89%49 = OpLoad %float %b 90%50 = OpFOrdEqual %bool %49 %float_2 91%51 = OpSelect %float %50 %float_1 %float_0 92%52 = OpLoad %float %b 93%53 = OpFOrdEqual %bool %52 %float_3 94%54 = OpSelect %float %53 %float_1 %float_0 95%55 = OpLoad %float %d 96%57 = OpFOrdEqual %bool %55 %float_5 97%58 = OpSelect %float %57 %float_1 %float_0 98%59 = OpLoad %float %d 99%61 = OpFOrdEqual %bool %59 %float_4 100%62 = OpSelect %float %61 %float_1 %float_0 101%63 = OpCompositeConstruct %v4float %51 %54 %58 %62 102OpReturnValue %63 103OpFunctionEnd 104