• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1spv.aggOps.frag
2WARNING: 0:4: '' : all default precisions are highp; use precision statements to quiet warning, e.g.:
3         "precision mediump int; precision highp float;"
4
5// Module Version 10000
6// Generated by (magic number): 80008
7// Id's are bound by 215
8
9                              Capability Shader
10               1:             ExtInstImport  "GLSL.std.450"
11                              MemoryModel Logical GLSL450
12                              EntryPoint Fragment 4  "main" 16 41 101 213
13                              ExecutionMode 4 OriginUpperLeft
14                              Source GLSL 450
15                              Name 4  "main"
16                              Name 8  "s1"
17                              MemberName 8(s1) 0  "i"
18                              MemberName 8(s1) 1  "f"
19                              Name 13  "a"
20                              Name 16  "u"
21                              Name 37  "b"
22                              Name 41  "w"
23                              Name 55  "s1"
24                              MemberName 55(s1) 0  "i"
25                              MemberName 55(s1) 1  "f"
26                              Name 56  "s2"
27                              MemberName 56(s2) 0  "i"
28                              MemberName 56(s2) 1  "f"
29                              MemberName 56(s2) 2  "s1_1"
30                              Name 57  "ub1"
31                              MemberName 57(ub1) 0  "foo2a"
32                              Name 59  "uName1"
33                              Name 64  "s1"
34                              MemberName 64(s1) 0  "i"
35                              MemberName 64(s1) 1  "f"
36                              Name 65  "s2"
37                              MemberName 65(s2) 0  "i"
38                              MemberName 65(s2) 1  "f"
39                              MemberName 65(s2) 2  "s1_1"
40                              Name 66  "ub2"
41                              MemberName 66(ub2) 0  "foo2b"
42                              Name 68  "uName2"
43                              Name 93  "v"
44                              Name 97  "samp2D"
45                              Name 101  "coord"
46                              Name 213  "color"
47                              MemberDecorate 55(s1) 0 Offset 0
48                              MemberDecorate 55(s1) 1 Offset 4
49                              MemberDecorate 56(s2) 0 Offset 0
50                              MemberDecorate 56(s2) 1 Offset 4
51                              MemberDecorate 56(s2) 2 Offset 16
52                              MemberDecorate 57(ub1) 0 Offset 0
53                              Decorate 57(ub1) Block
54                              Decorate 59(uName1) DescriptorSet 0
55                              Decorate 59(uName1) Binding 0
56                              MemberDecorate 64(s1) 0 Offset 0
57                              MemberDecorate 64(s1) 1 Offset 4
58                              MemberDecorate 65(s2) 0 Offset 0
59                              MemberDecorate 65(s2) 1 Offset 4
60                              MemberDecorate 65(s2) 2 Offset 8
61                              MemberDecorate 66(ub2) 0 Offset 0
62                              Decorate 66(ub2) BufferBlock
63                              Decorate 68(uName2) DescriptorSet 0
64                              Decorate 68(uName2) Binding 0
65                              Decorate 97(samp2D) DescriptorSet 0
66                              Decorate 97(samp2D) Binding 0
67                              Decorate 101(coord) RelaxedPrecision
68                              Decorate 102 RelaxedPrecision
69                              Decorate 107 RelaxedPrecision
70                              Decorate 108 RelaxedPrecision
71                              Decorate 129 RelaxedPrecision
72               2:             TypeVoid
73               3:             TypeFunction 2
74               6:             TypeInt 32 1
75               7:             TypeFloat 32
76           8(s1):             TypeStruct 6(int) 7(float)
77               9:             TypeInt 32 0
78              10:      9(int) Constant 3
79              11:             TypeArray 8(s1) 10
80              12:             TypePointer Function 11
81              14:             TypeVector 7(float) 4
82              15:             TypePointer Input 14(fvec4)
83           16(u):     15(ptr) Variable Input
84              17:      9(int) Constant 0
85              18:             TypePointer Input 7(float)
86              22:      9(int) Constant 1
87              26:      9(int) Constant 2
88              33:      6(int) Constant 14
89              34:    7(float) Constant 1096810496
90              35:       8(s1) ConstantComposite 33 34
91              38:      6(int) Constant 17
92              39:    7(float) Constant 1099431936
93              40:       8(s1) ConstantComposite 38 39
94           41(w):     15(ptr) Variable Input
95          55(s1):             TypeStruct 6(int) 7(float)
96          56(s2):             TypeStruct 6(int) 7(float) 55(s1)
97         57(ub1):             TypeStruct 56(s2)
98              58:             TypePointer Uniform 57(ub1)
99      59(uName1):     58(ptr) Variable Uniform
100              60:      6(int) Constant 0
101              61:             TypePointer Uniform 56(s2)
102          64(s1):             TypeStruct 6(int) 7(float)
103          65(s2):             TypeStruct 6(int) 7(float) 64(s1)
104         66(ub2):             TypeStruct 65(s2)
105              67:             TypePointer Uniform 66(ub2)
106      68(uName2):     67(ptr) Variable Uniform
107              69:             TypePointer Uniform 65(s2)
108              72:             TypeBool
109              92:             TypePointer Function 14(fvec4)
110              94:             TypeImage 7(float) 2D sampled format:Unknown
111              95:             TypeSampledImage 94
112              96:             TypePointer UniformConstant 95
113      97(samp2D):     96(ptr) Variable UniformConstant
114              99:             TypeVector 7(float) 2
115             100:             TypePointer Input 99(fvec2)
116      101(coord):    100(ptr) Variable Input
117             106:    7(float) Constant 1073741824
118             112:             TypeVector 72(bool) 4
119             117:    7(float) Constant 1077936128
120             126:    7(float) Constant 1082130432
121             132:             TypeVector 72(bool) 2
122             137:    7(float) Constant 1084227584
123             173:    7(float) Constant 1086324736
124             209:    7(float) Constant 1088421888
125             212:             TypePointer Output 14(fvec4)
126      213(color):    212(ptr) Variable Output
127         4(main):           2 Function None 3
128               5:             Label
129           13(a):     12(ptr) Variable Function
130           37(b):     12(ptr) Variable Function
131           93(v):     92(ptr) Variable Function
132              19:     18(ptr) AccessChain 16(u) 17
133              20:    7(float) Load 19
134              21:      6(int) ConvertFToS 20
135              23:     18(ptr) AccessChain 16(u) 22
136              24:    7(float) Load 23
137              25:       8(s1) CompositeConstruct 21 24
138              27:     18(ptr) AccessChain 16(u) 26
139              28:    7(float) Load 27
140              29:      6(int) ConvertFToS 28
141              30:     18(ptr) AccessChain 16(u) 10
142              31:    7(float) Load 30
143              32:       8(s1) CompositeConstruct 29 31
144              36:          11 CompositeConstruct 25 32 35
145                              Store 13(a) 36
146              42:     18(ptr) AccessChain 41(w) 17
147              43:    7(float) Load 42
148              44:      6(int) ConvertFToS 43
149              45:     18(ptr) AccessChain 41(w) 22
150              46:    7(float) Load 45
151              47:       8(s1) CompositeConstruct 44 46
152              48:     18(ptr) AccessChain 41(w) 26
153              49:    7(float) Load 48
154              50:      6(int) ConvertFToS 49
155              51:     18(ptr) AccessChain 41(w) 10
156              52:    7(float) Load 51
157              53:       8(s1) CompositeConstruct 50 52
158              54:          11 CompositeConstruct 40 47 53
159                              Store 37(b) 54
160              62:     61(ptr) AccessChain 59(uName1) 60
161              63:      56(s2) Load 62
162              70:     69(ptr) AccessChain 68(uName2) 60
163              71:      65(s2) Load 70
164              73:      6(int) CompositeExtract 63 0
165              74:      6(int) CompositeExtract 71 0
166              75:    72(bool) IEqual 73 74
167              76:    7(float) CompositeExtract 63 1
168              77:    7(float) CompositeExtract 71 1
169              78:    72(bool) FOrdEqual 76 77
170              79:    72(bool) LogicalAnd 75 78
171              80:      55(s1) CompositeExtract 63 2
172              81:      64(s1) CompositeExtract 71 2
173              82:      6(int) CompositeExtract 80 0
174              83:      6(int) CompositeExtract 81 0
175              84:    72(bool) IEqual 82 83
176              85:    7(float) CompositeExtract 80 1
177              86:    7(float) CompositeExtract 81 1
178              87:    72(bool) FOrdEqual 85 86
179              88:    72(bool) LogicalAnd 84 87
180              89:    72(bool) LogicalAnd 79 88
181                              SelectionMerge 91 None
182                              BranchConditional 89 90 104
183              90:               Label
184              98:          95   Load 97(samp2D)
185             102:   99(fvec2)   Load 101(coord)
186             103:   14(fvec4)   ImageSampleImplicitLod 98 102
187                                Store 93(v) 103
188                                Branch 91
189             104:               Label
190             105:          95   Load 97(samp2D)
191             107:   99(fvec2)   Load 101(coord)
192             108:   99(fvec2)   VectorTimesScalar 107 106
193             109:   14(fvec4)   ImageSampleImplicitLod 105 108
194                                Store 93(v) 109
195                                Branch 91
196              91:             Label
197             110:   14(fvec4) Load 16(u)
198             111:   14(fvec4) Load 93(v)
199             113:  112(bvec4) FOrdEqual 110 111
200             114:    72(bool) All 113
201                              SelectionMerge 116 None
202                              BranchConditional 114 115 116
203             115:               Label
204             118:   14(fvec4)   Load 93(v)
205             119:   14(fvec4)   VectorTimesScalar 118 117
206                                Store 93(v) 119
207                                Branch 116
208             116:             Label
209             120:   14(fvec4) Load 16(u)
210             121:   14(fvec4) Load 93(v)
211             122:  112(bvec4) FOrdNotEqual 120 121
212             123:    72(bool) Any 122
213                              SelectionMerge 125 None
214                              BranchConditional 123 124 125
215             124:               Label
216             127:   14(fvec4)   Load 93(v)
217             128:   14(fvec4)   VectorTimesScalar 127 126
218                                Store 93(v) 128
219                                Branch 125
220             125:             Label
221             129:   99(fvec2) Load 101(coord)
222             130:   14(fvec4) Load 93(v)
223             131:   99(fvec2) VectorShuffle 130 130 1 3
224             133:  132(bvec2) FOrdEqual 129 131
225             134:    72(bool) All 133
226                              SelectionMerge 136 None
227                              BranchConditional 134 135 136
228             135:               Label
229             138:   14(fvec4)   Load 93(v)
230             139:   14(fvec4)   VectorTimesScalar 138 137
231                                Store 93(v) 139
232                                Branch 136
233             136:             Label
234             140:          11 Load 13(a)
235             141:          11 Load 37(b)
236             142:       8(s1) CompositeExtract 140 0
237             143:       8(s1) CompositeExtract 141 0
238             144:      6(int) CompositeExtract 142 0
239             145:      6(int) CompositeExtract 143 0
240             146:    72(bool) IEqual 144 145
241             147:    7(float) CompositeExtract 142 1
242             148:    7(float) CompositeExtract 143 1
243             149:    72(bool) FOrdEqual 147 148
244             150:    72(bool) LogicalAnd 146 149
245             151:       8(s1) CompositeExtract 140 1
246             152:       8(s1) CompositeExtract 141 1
247             153:      6(int) CompositeExtract 151 0
248             154:      6(int) CompositeExtract 152 0
249             155:    72(bool) IEqual 153 154
250             156:    7(float) CompositeExtract 151 1
251             157:    7(float) CompositeExtract 152 1
252             158:    72(bool) FOrdEqual 156 157
253             159:    72(bool) LogicalAnd 155 158
254             160:    72(bool) LogicalAnd 150 159
255             161:       8(s1) CompositeExtract 140 2
256             162:       8(s1) CompositeExtract 141 2
257             163:      6(int) CompositeExtract 161 0
258             164:      6(int) CompositeExtract 162 0
259             165:    72(bool) IEqual 163 164
260             166:    7(float) CompositeExtract 161 1
261             167:    7(float) CompositeExtract 162 1
262             168:    72(bool) FOrdEqual 166 167
263             169:    72(bool) LogicalAnd 165 168
264             170:    72(bool) LogicalAnd 160 169
265                              SelectionMerge 172 None
266                              BranchConditional 170 171 172
267             171:               Label
268             174:   14(fvec4)   Load 93(v)
269             175:   14(fvec4)   VectorTimesScalar 174 173
270                                Store 93(v) 175
271                                Branch 172
272             172:             Label
273             176:          11 Load 13(a)
274             177:          11 Load 37(b)
275             178:       8(s1) CompositeExtract 176 0
276             179:       8(s1) CompositeExtract 177 0
277             180:      6(int) CompositeExtract 178 0
278             181:      6(int) CompositeExtract 179 0
279             182:    72(bool) INotEqual 180 181
280             183:    7(float) CompositeExtract 178 1
281             184:    7(float) CompositeExtract 179 1
282             185:    72(bool) FOrdNotEqual 183 184
283             186:    72(bool) LogicalOr 182 185
284             187:       8(s1) CompositeExtract 176 1
285             188:       8(s1) CompositeExtract 177 1
286             189:      6(int) CompositeExtract 187 0
287             190:      6(int) CompositeExtract 188 0
288             191:    72(bool) INotEqual 189 190
289             192:    7(float) CompositeExtract 187 1
290             193:    7(float) CompositeExtract 188 1
291             194:    72(bool) FOrdNotEqual 192 193
292             195:    72(bool) LogicalOr 191 194
293             196:    72(bool) LogicalOr 186 195
294             197:       8(s1) CompositeExtract 176 2
295             198:       8(s1) CompositeExtract 177 2
296             199:      6(int) CompositeExtract 197 0
297             200:      6(int) CompositeExtract 198 0
298             201:    72(bool) INotEqual 199 200
299             202:    7(float) CompositeExtract 197 1
300             203:    7(float) CompositeExtract 198 1
301             204:    72(bool) FOrdNotEqual 202 203
302             205:    72(bool) LogicalOr 201 204
303             206:    72(bool) LogicalOr 196 205
304                              SelectionMerge 208 None
305                              BranchConditional 206 207 208
306             207:               Label
307             210:   14(fvec4)   Load 93(v)
308             211:   14(fvec4)   VectorTimesScalar 210 209
309                                Store 93(v) 211
310                                Branch 208
311             208:             Label
312             214:   14(fvec4) Load 93(v)
313                              Store 213(color) 214
314                              Return
315                              FunctionEnd
316