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 %i "i"
10OpDecorate %sk_FragColor RelaxedPrecision
11OpDecorate %sk_FragColor Location 0
12OpDecorate %sk_FragColor Index 0
13OpDecorate %sk_Clockwise BuiltIn FrontFacing
14OpDecorate %23 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%int = OpTypeInt 32 1
25%_ptr_Function_int = OpTypePointer Function %int
26%float_1 = OpConstant %float 1
27%int_3 = OpConstant %int 3
28%_ptr_Output_float = OpTypePointer Output %float
29%int_0 = OpConstant %int 0
30%main = OpFunction %void None %11
31%12 = OpLabel
32%i = OpVariable %_ptr_Function_int Function
33%16 = OpExtInst %float %1 Sqrt %float_1
34%18 = OpConvertFToS %int %16
35OpStore %i %18
36%19 = OpLoad %int %i
37OpStore %i %int_3
38%21 = OpIMul %int %19 %int_3
39%22 = OpLoad %int %i
40%23 = OpConvertSToF %float %22
41%24 = OpAccessChain %_ptr_Output_float %sk_FragColor %int_0
42OpStore %24 %23
43OpReturn
44OpFunctionEnd
45