2 Warning, version 400 is not yet complete; most version-specific features are present, but some are missing.
8 // Module Version 10000
9 // Generated by (magic number): 80001
10 // Id's are bound by 144
13 1: ExtInstImport "GLSL.std.450"
14 MemoryModel Logical GLSL450
15 EntryPoint Fragment 4 "main" 12 24
16 ExecutionMode 4 OriginLowerLeft
33 7: TypeFunction 6(bool)
35 11: TypePointer Output 10(float)
36 12(of1): 11(ptr) Variable Output
37 14: 10(float) Constant 1065353216
38 17: 10(float) Constant 1092616192
39 21: 10(float) Constant 0
40 22: TypeVector 10(float) 4
41 23: TypePointer Output 22(fvec4)
42 24(of4): 23(ptr) Variable Output
43 25: 22(fvec4) ConstantComposite 21 21 21 21
44 26: TypePointer UniformConstant 6(bool)
45 27(ub): 26(ptr) Variable UniformConstant
47 30: TypePointer UniformConstant 29(int)
48 31(ui): 30(ptr) Variable UniformConstant
49 33: 29(int) Constant 2
50 41(uba): 26(ptr) Variable UniformConstant
51 109: TypePointer UniformConstant 10(float)
52 110(uf): 109(ptr) Variable UniformConstant
53 113: 10(float) Constant 1082130432
54 135: TypeVector 29(int) 4
55 136: TypePointer UniformConstant 135(ivec4)
56 137(uiv4): 136(ptr) Variable UniformConstant
57 138: TypePointer UniformConstant 22(fvec4)
58 139(uv4): 138(ptr) Variable UniformConstant
59 140: TypeVector 6(bool) 4
60 141: TypePointer UniformConstant 140(bvec4)
61 142(ub41): 141(ptr) Variable UniformConstant
62 143(ub42): 141(ptr) Variable UniformConstant
63 4(main): 2 Function None 3
67 28: 6(bool) Load 27(ub)
68 32: 29(int) Load 31(ui)
69 34: 6(bool) SGreaterThan 32 33
70 35: 6(bool) LogicalOr 28 34
71 SelectionMerge 37 None
72 BranchConditional 35 36 37
74 38: 10(float) Load 12(of1)
75 39: 10(float) FAdd 38 14
79 40: 6(bool) Load 27(ub)
80 42: 6(bool) Load 41(uba)
81 43: 6(bool) LogicalNot 42
82 44: 6(bool) LogicalAnd 40 43
83 SelectionMerge 46 None
84 BranchConditional 44 45 46
86 47: 10(float) Load 12(of1)
87 48: 10(float) FAdd 47 14
91 49: 6(bool) Load 27(ub)
92 50: 6(bool) LogicalNot 49
93 SelectionMerge 52 None
94 BranchConditional 50 51 52
96 53: 6(bool) FunctionCall 8(foo()
99 54: 6(bool) Phi 49 46 53 51
100 SelectionMerge 56 None
101 BranchConditional 54 55 56
103 57: 10(float) Load 12(of1)
104 58: 10(float) FAdd 57 14
108 59: 6(bool) Load 27(ub)
109 SelectionMerge 61 None
110 BranchConditional 59 60 61
112 62: 6(bool) FunctionCall 8(foo()
115 63: 6(bool) Phi 59 56 62 60
116 SelectionMerge 65 None
117 BranchConditional 63 64 65
119 66: 10(float) Load 12(of1)
120 67: 10(float) FAdd 66 14
124 68: 6(bool) FunctionCall 8(foo()
125 69: 6(bool) Load 27(ub)
126 70: 6(bool) LogicalOr 68 69
127 SelectionMerge 72 None
128 BranchConditional 70 71 72
130 73: 10(float) Load 12(of1)
131 74: 10(float) FAdd 73 14
135 75: 6(bool) FunctionCall 8(foo()
136 76: 6(bool) Load 27(ub)
137 77: 6(bool) LogicalAnd 75 76
138 SelectionMerge 79 None
139 BranchConditional 77 78 79
141 80: 10(float) Load 12(of1)
142 81: 10(float) FAdd 80 14
146 82: 6(bool) Load 27(ub)
147 83: 6(bool) LogicalNot 82
148 SelectionMerge 85 None
149 BranchConditional 83 84 85
151 86: 10(float) Load 12(of1)
152 87: 10(float) FAdd 86 14
154 88: 6(bool) FOrdGreaterThan 87 14
157 89: 6(bool) Phi 82 79 88 84
158 SelectionMerge 91 None
159 BranchConditional 89 90 91
161 92: 22(fvec4) Load 24(of4)
162 93: 22(fvec4) CompositeConstruct 14 14 14 14
163 94: 22(fvec4) FAdd 92 93
167 95: 10(float) Load 12(of1)
168 96: 10(float) FAdd 95 14
170 97: 6(bool) FOrdGreaterThan 96 14
171 98: 6(bool) Load 27(ub)
172 99: 6(bool) LogicalOr 97 98
173 SelectionMerge 101 None
174 BranchConditional 99 100 101
176 102: 22(fvec4) Load 24(of4)
177 103: 22(fvec4) CompositeConstruct 14 14 14 14
178 104: 22(fvec4) FAdd 102 103
182 105: 6(bool) Load 27(ub)
183 106: 6(bool) LogicalNot 105
184 SelectionMerge 108 None
185 BranchConditional 106 107 108
187 111: 10(float) Load 110(uf)
188 112: 10(float) ExtInst 1(GLSL.std.450) 13(Sin) 111
189 114: 10(float) FMul 112 113
190 115: 10(float) Load 12(of1)
191 116: 6(bool) FOrdGreaterThan 114 115
194 117: 6(bool) Phi 105 101 116 107
195 SelectionMerge 119 None
196 BranchConditional 117 118 119
198 120: 10(float) Load 12(of1)
199 121: 10(float) FAdd 120 14
203 122: 6(bool) Load 27(ub)
204 SelectionMerge 124 None
205 BranchConditional 122 123 124
207 125: 10(float) Load 110(uf)
208 126: 10(float) ExtInst 1(GLSL.std.450) 13(Sin) 125
209 127: 10(float) FMul 126 113
210 128: 10(float) Load 12(of1)
211 129: 6(bool) FOrdGreaterThan 127 128
214 130: 6(bool) Phi 122 119 129 123
215 SelectionMerge 132 None
216 BranchConditional 130 131 132
218 133: 10(float) Load 12(of1)
219 134: 10(float) FAdd 133 14
225 8(foo(): 6(bool) Function None 7
227 13: 10(float) Load 12(of1)
228 15: 10(float) FAdd 13 14
230 16: 10(float) Load 12(of1)
231 18: 6(bool) FOrdGreaterThan 16 17