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