1 OpCapability Shader 2 %1 = OpExtInstImport "GLSL.std.450" 3 OpMemoryModel Logical GLSL450 4 OpEntryPoint Fragment %main "main" %sk_FragColor 5 OpExecutionMode %main OriginUpperLeft 6 OpName %sk_FragColor "sk_FragColor" 7 OpName %main "main" 8 OpName %x "x" 9 OpDecorate %sk_FragColor RelaxedPrecision 10 OpDecorate %sk_FragColor Location 0 11 OpDecorate %sk_FragColor Index 0 12 %float = OpTypeFloat 32 13 %v4float = OpTypeVector %float 4 14%_ptr_Output_v4float = OpTypePointer Output %v4float 15%sk_FragColor = OpVariable %_ptr_Output_v4float Output 16 %void = OpTypeVoid 17 %8 = OpTypeFunction %void 18%_ptr_Function_float = OpTypePointer Function %float 19 %float_0 = OpConstant %float 0 20 %int = OpTypeInt 32 1 21 %int_0 = OpConstant %int 0 22 %float_1 = OpConstant %float 1 23 %bool = OpTypeBool 24 %23 = OpConstantComposite %v4float %float_0 %float_0 %float_0 %float_0 25 %main = OpFunction %void None %8 26 %9 = OpLabel 27 %x = OpVariable %_ptr_Function_float Function 28 OpStore %x %float_0 29 OpSelectionMerge %15 None 30 OpSwitch %int_0 %15 0 %16 1 %17 31 %16 = OpLabel 32 OpStore %x %float_0 33 %19 = OpFOrdLessThan %bool %float_0 %float_1 34 OpSelectionMerge %22 None 35 OpBranchConditional %19 %21 %22 36 %21 = OpLabel 37 OpStore %sk_FragColor %23 38 OpBranch %15 39 %22 = OpLabel 40 OpBranch %17 41 %17 = OpLabel 42 OpStore %x %float_1 43 OpBranch %15 44 %15 = OpLabel 45 OpReturn 46 OpFunctionEnd 47