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