1               OpCapability Shader
2          %1 = OpExtInstImport "GLSL.std.450"
3               OpMemoryModel Logical GLSL450
4               OpEntryPoint Fragment %main "main" %_GLF_color
5               OpExecutionMode %main OriginUpperLeft
6               OpSource ESSL 310
7               OpName %main "main"
8               OpName %v "v"
9               OpName %buf0 "buf0"
10               OpMemberName %buf0 0 "two"
11               OpName %_ ""
12               OpName %d "d"
13               OpName %_GLF_color "_GLF_color"
14               OpMemberDecorate %buf0 0 Offset 0
15               OpDecorate %buf0 Block
16               OpDecorate %_ DescriptorSet 0
17               OpDecorate %_ Binding 0
18               OpDecorate %_GLF_color Location 0
19       %void = OpTypeVoid
20          %9 = OpTypeFunction %void
21      %float = OpTypeFloat 32
22    %v2float = OpTypeVector %float 2
23%_ptr_Function_v2float = OpTypePointer Function %v2float
24%float_0_100000001 = OpConstant %float 0.100000001
25         %14 = OpConstantComposite %v2float %float_0_100000001 %float_0_100000001
26        %int = OpTypeInt 32 1
27       %buf0 = OpTypeStruct %int
28%_ptr_Uniform_buf0 = OpTypePointer Uniform %buf0
29          %_ = OpVariable %_ptr_Uniform_buf0 Uniform
30      %int_0 = OpConstant %int 0
31%_ptr_Uniform_int = OpTypePointer Uniform %int
32      %int_3 = OpConstant %int 3
33      %v2int = OpTypeVector %int 2
34%_ptr_Function_float = OpTypePointer Function %float
35%float_1_15927994 = OpConstant %float 1.15927994
36%float_0_64349997 = OpConstant %float 0.64349997
37         %24 = OpConstantComposite %v2float %float_1_15927994 %float_0_64349997
38%float_0_00999999978 = OpConstant %float 0.00999999978
39       %bool = OpTypeBool
40    %v4float = OpTypeVector %float 4
41%_ptr_Output_v4float = OpTypePointer Output %v4float
42 %_GLF_color = OpVariable %_ptr_Output_v4float Output
43    %float_1 = OpConstant %float 1
44    %float_0 = OpConstant %float 0
45         %31 = OpConstantComposite %v4float %float_1 %float_0 %float_0 %float_1
46         %32 = OpConstantComposite %v4float %float_0 %float_0 %float_0 %float_0
47       %main = OpFunction %void None %9
48         %33 = OpLabel
49          %v = OpVariable %_ptr_Function_v2float Function
50          %d = OpVariable %_ptr_Function_float Function
51         %34 = OpAccessChain %_ptr_Uniform_int %_ %int_0
52         %35 = OpLoad %int %34
53         %36 = OpCompositeConstruct %v2int %35 %int_3
54         %37 = OpExtInst %v2float %1 Ldexp %14 %36
55         %38 = OpExtInst %v2float %1 Acos %37
56               OpStore %v %38
57         %39 = OpLoad %v2float %v
58         %40 = OpExtInst %float %1 Distance %39 %24
59               OpStore %d %40
60         %41 = OpLoad %float %d
61         %42 = OpFOrdLessThan %bool %41 %float_0_00999999978
62               OpSelectionMerge %43 None
63               OpBranchConditional %42 %44 %45
64         %44 = OpLabel
65               OpStore %_GLF_color %31
66               OpBranch %43
67         %45 = OpLabel
68               OpStore %_GLF_color %32
69               OpBranch %43
70         %43 = OpLabel
71               OpReturn
72               OpFunctionEnd
73