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 %_UniformBuffer "_UniformBuffer"
9OpMemberName %_UniformBuffer 0 "a"
10OpMemberName %_UniformBuffer 1 "b"
11OpMemberName %_UniformBuffer 2 "c"
12OpMemberName %_UniformBuffer 3 "d"
13OpName %main "main"
14OpDecorate %sk_FragColor RelaxedPrecision
15OpDecorate %sk_FragColor Location 0
16OpDecorate %sk_FragColor Index 0
17OpDecorate %sk_Clockwise BuiltIn FrontFacing
18OpMemberDecorate %_UniformBuffer 0 Offset 0
19OpMemberDecorate %_UniformBuffer 0 RelaxedPrecision
20OpMemberDecorate %_UniformBuffer 1 Offset 4
21OpMemberDecorate %_UniformBuffer 1 RelaxedPrecision
22OpMemberDecorate %_UniformBuffer 2 Offset 16
23OpMemberDecorate %_UniformBuffer 2 RelaxedPrecision
24OpMemberDecorate %_UniformBuffer 3 Offset 32
25OpMemberDecorate %_UniformBuffer 3 RelaxedPrecision
26OpDecorate %_UniformBuffer Block
27OpDecorate %10 Binding 0
28OpDecorate %10 DescriptorSet 0
29OpDecorate %16 RelaxedPrecision
30OpDecorate %21 RelaxedPrecision
31OpDecorate %24 RelaxedPrecision
32OpDecorate %27 RelaxedPrecision
33OpDecorate %31 RelaxedPrecision
34OpDecorate %34 RelaxedPrecision
35%float = OpTypeFloat 32
36%v4float = OpTypeVector %float 4
37%_ptr_Output_v4float = OpTypePointer Output %v4float
38%sk_FragColor = OpVariable %_ptr_Output_v4float Output
39%bool = OpTypeBool
40%_ptr_Input_bool = OpTypePointer Input %bool
41%sk_Clockwise = OpVariable %_ptr_Input_bool Input
42%_UniformBuffer = OpTypeStruct %float %float %v4float %v4float
43%_ptr_Uniform__UniformBuffer = OpTypePointer Uniform %_UniformBuffer
44%10 = OpVariable %_ptr_Uniform__UniformBuffer Uniform
45%void = OpTypeVoid
46%14 = OpTypeFunction %void
47%_ptr_Uniform_float = OpTypePointer Uniform %float
48%int = OpTypeInt 32 1
49%int_0 = OpConstant %int 0
50%int_1 = OpConstant %int 1
51%_ptr_Output_float = OpTypePointer Output %float
52%_ptr_Uniform_v4float = OpTypePointer Uniform %v4float
53%int_2 = OpConstant %int 2
54%int_3 = OpConstant %int 3
55%main = OpFunction %void None %14
56%15 = OpLabel
57%17 = OpAccessChain %_ptr_Uniform_float %10 %int_0
58%21 = OpLoad %float %17
59%22 = OpAccessChain %_ptr_Uniform_float %10 %int_1
60%24 = OpLoad %float %22
61%16 = OpExtInst %float %1 Distance %21 %24
62%25 = OpAccessChain %_ptr_Output_float %sk_FragColor %int_0
63OpStore %25 %16
64%28 = OpAccessChain %_ptr_Uniform_v4float %10 %int_2
65%31 = OpLoad %v4float %28
66%32 = OpAccessChain %_ptr_Uniform_v4float %10 %int_3
67%34 = OpLoad %v4float %32
68%27 = OpExtInst %float %1 Distance %31 %34
69%35 = OpAccessChain %_ptr_Output_float %sk_FragColor %int_0
70OpStore %35 %27
71OpReturn
72OpFunctionEnd
73