Mark spv.int16.amd.frag.out as failing validation
[platform/upstream/glslang.git] / Test / baseResults / spv.int16.amd.frag.out
1 spv.int16.amd.frag
2 Validation failed
3 // Module Version 10000
4 // Generated by (magic number): 80007
5 // Id's are bound by 560
6
7                               Capability Shader
8                               Capability Float16
9                               Capability Float64
10                               Capability Int64
11                               Capability Int16
12                               Capability StorageUniform16
13                               Capability StorageInputOutput16
14                               Extension  "SPV_AMD_gpu_shader_int16"
15                               Extension  "SPV_KHR_16bit_storage"
16                1:             ExtInstImport  "GLSL.std.450"
17                               MemoryModel Logical GLSL450
18                               EntryPoint Fragment 4  "main" 519 521
19                               ExecutionMode 4 OriginUpperLeft
20                               Source GLSL 450
21                               SourceExtension  "GL_AMD_gpu_shader_half_float"
22                               SourceExtension  "GL_AMD_gpu_shader_int16"
23                               SourceExtension  "GL_ARB_gpu_shader_int64"
24                               Name 4  "main"
25                               Name 6  "literal("
26                               Name 8  "operators("
27                               Name 10  "typeCast("
28                               Name 12  "builtinFuncs("
29                               Name 16  "u16"
30                               Name 25  "Uniforms"
31                               MemberName 25(Uniforms) 0  "i"
32                               Name 27  ""
33                               Name 34  "indexable"
34                               Name 45  "indexable"
35                               Name 51  "u16v"
36                               Name 57  "i16"
37                               Name 70  "u16"
38                               Name 127  "b"
39                               Name 148  "u"
40                               Name 159  "i"
41                               Name 189  "i16v"
42                               Name 192  "bv"
43                               Name 200  "u16v"
44                               Name 213  "iv"
45                               Name 226  "uv"
46                               Name 240  "fv"
47                               Name 252  "dv"
48                               Name 264  "f16v"
49                               Name 276  "i64v"
50                               Name 290  "u64v"
51                               Name 305  "i16v"
52                               Name 311  "i16"
53                               Name 319  "u16v"
54                               Name 321  "u16"
55                               Name 393  "f16v"
56                               Name 396  "exp"
57                               Name 397  "ResType"
58                               Name 418  "packi"
59                               Name 423  "packu"
60                               Name 432  "packi64"
61                               Name 441  "packu64"
62                               Name 450  "bv"
63                               Name 515  "Block"
64                               MemberName 515(Block) 0  "i16v"
65                               MemberName 515(Block) 1  "u16"
66                               Name 517  "block"
67                               Name 519  "iu16v"
68                               Name 521  "ii16"
69                               Name 522  "si64"
70                               Name 523  "su64"
71                               Name 524  "si"
72                               Name 525  "su"
73                               Name 526  "sb"
74                               Name 527  "si16"
75                               Name 528  "su16"
76                               Name 529  "i16_to_b"
77                               Name 530  "u16_to_b"
78                               Name 531  "b_to_i16"
79                               Name 532  "b_to_u16"
80                               Name 533  "i16_to_i"
81                               Name 535  "u16_to_i"
82                               Name 536  "i_to_i16"
83                               Name 538  "i_to_u16"
84                               Name 540  "i16_to_u"
85                               Name 541  "u16_to_u"
86                               Name 543  "u_to_i16"
87                               Name 544  "u_to_u16"
88                               Name 545  "i16_to_i64"
89                               Name 548  "u16_to_i64"
90                               Name 549  "i64_to_i16"
91                               Name 551  "i64_to_u16"
92                               Name 553  "i16_to_u64"
93                               Name 554  "u16_to_u64"
94                               Name 556  "u64_to_i16"
95                               Name 557  "u64_to_u16"
96                               Name 558  "i16_to_u16"
97                               Name 559  "u16_to_i16"
98                               MemberDecorate 25(Uniforms) 0 Offset 0
99                               Decorate 25(Uniforms) Block
100                               Decorate 27 DescriptorSet 0
101                               Decorate 27 Binding 0
102                               MemberDecorate 515(Block) 0 Offset 0
103                               MemberDecorate 515(Block) 1 Offset 6
104                               Decorate 515(Block) Block
105                               Decorate 517(block) DescriptorSet 0
106                               Decorate 517(block) Binding 1
107                               Decorate 519(iu16v) Flat
108                               Decorate 519(iu16v) Location 0
109                               Decorate 521(ii16) Flat
110                               Decorate 521(ii16) Location 1
111                               Decorate 522(si64) SpecId 100
112                               Decorate 523(su64) SpecId 101
113                               Decorate 524(si) SpecId 102
114                               Decorate 525(su) SpecId 103
115                               Decorate 526(sb) SpecId 104
116                               Decorate 527(si16) SpecId 105
117                               Decorate 528(su16) SpecId 106
118                2:             TypeVoid
119                3:             TypeFunction 2
120               14:             TypeInt 16 0
121               15:             TypePointer Function 14(int16_t)
122               17:             TypeInt 16 1
123               18:             TypeInt 32 0
124               19:     18(int) Constant 3
125               20:             TypeArray 17(int16_t) 19
126               21: 17(int16_t) Constant 273
127               22: 17(int16_t) Constant 4294967294
128               23: 17(int16_t) Constant 256
129               24:          20 ConstantComposite 21 22 23
130     25(Uniforms):             TypeStruct 18(int)
131               26:             TypePointer Uniform 25(Uniforms)
132               27:     26(ptr) Variable Uniform
133               28:             TypeInt 32 1
134               29:     28(int) Constant 0
135               30:             TypePointer Uniform 18(int)
136               33:             TypePointer Function 20
137               35:             TypePointer Function 17(int16_t)
138               39:             TypeArray 14(int16_t) 19
139               40: 14(int16_t) Constant 65535
140               41:          39 ConstantComposite 40 40 40
141               44:             TypePointer Function 39
142               49:             TypeVector 14(int16_t) 3
143               50:             TypePointer Function 49(i16vec3)
144               53: 17(int16_t) Constant 1
145               54:             TypeVector 17(int16_t) 3
146              111:     18(int) Constant 1
147              117:     18(int) Constant 2
148              125:             TypeBool
149              126:             TypePointer Function 125(bool)
150              128:     18(int) Constant 0
151              147:             TypePointer Function 18(int)
152              158:             TypePointer Function 28(int)
153              187:             TypeVector 17(int16_t) 2
154              188:             TypePointer Function 187(i16vec2)
155              190:             TypeVector 125(bool) 2
156              191:             TypePointer Function 190(bvec2)
157              194: 17(int16_t) Constant 0
158              195:187(i16vec2) ConstantComposite 194 194
159              196:187(i16vec2) ConstantComposite 53 53
160              198:             TypeVector 14(int16_t) 2
161              199:             TypePointer Function 198(i16vec2)
162              202: 14(int16_t) Constant 0
163              203: 14(int16_t) Constant 1
164              204:198(i16vec2) ConstantComposite 202 202
165              205:198(i16vec2) ConstantComposite 203 203
166              211:             TypeVector 28(int) 2
167              212:             TypePointer Function 211(ivec2)
168              222:             TypeVector 18(int) 2
169              225:             TypePointer Function 222(ivec2)
170              237:             TypeFloat 32
171              238:             TypeVector 237(float) 2
172              239:             TypePointer Function 238(fvec2)
173              249:             TypeFloat 64
174              250:             TypeVector 249(float64_t) 2
175              251:             TypePointer Function 250(f64vec2)
176              261:             TypeFloat 16
177              262:             TypeVector 261(float16_t) 2
178              263:             TypePointer Function 262(f16vec2)
179              273:             TypeInt 64 1
180              274:             TypeVector 273(int64_t) 2
181              275:             TypePointer Function 274(i64vec2)
182              285:             TypeInt 64 0
183              286:             TypeVector 285(int64_t) 2
184              289:             TypePointer Function 286(i64vec2)
185              316: 17(int16_t) Constant 4294967295
186              317:187(i16vec2) ConstantComposite 316 316
187              326: 49(i16vec3) ConstantComposite 202 202 202
188              368:   125(bool) ConstantTrue
189              375:   125(bool) ConstantFalse
190              376:  190(bvec2) ConstantComposite 375 375
191              388:             TypeVector 125(bool) 3
192              389:  388(bvec3) ConstantComposite 375 375 375
193              391:             TypeVector 261(float16_t) 3
194              392:             TypePointer Function 391(f16vec3)
195              395:             TypePointer Function 54(i16vec3)
196     397(ResType):             TypeStruct 391(f16vec3) 54(i16vec3)
197              407:             TypePointer Function 261(float16_t)
198              431:             TypePointer Function 273(int64_t)
199              434:             TypeVector 17(int16_t) 4
200              440:             TypePointer Function 285(int64_t)
201              443:             TypeVector 14(int16_t) 4
202              449:             TypePointer Function 388(bvec3)
203       515(Block):             TypeStruct 54(i16vec3) 14(int16_t)
204              516:             TypePointer Uniform 515(Block)
205       517(block):    516(ptr) Variable Uniform
206              518:             TypePointer Input 49(i16vec3)
207       519(iu16v):    518(ptr) Variable Input
208              520:             TypePointer Input 17(int16_t)
209        521(ii16):    520(ptr) Variable Input
210        522(si64):273(int64_t) SpecConstant 4294967286 4294967295
211        523(su64):285(int64_t) SpecConstant 20 0
212          524(si):     28(int) SpecConstant 4294967291
213          525(su):     18(int) SpecConstant 4
214          526(sb):   125(bool) SpecConstantTrue
215        527(si16): 17(int16_t) SpecConstant 4294967291
216        528(su16): 14(int16_t) SpecConstant 4
217    529(i16_to_b):   125(bool) SpecConstantOp 171 527(si16) 202
218    530(u16_to_b):   125(bool) SpecConstantOp 171 528(su16) 202
219    531(b_to_i16): 17(int16_t) SpecConstantOp 169 526(sb) 53 194
220    532(b_to_u16): 14(int16_t) SpecConstantOp 169 526(sb) 203 202
221    533(i16_to_i):     28(int) SpecConstantOp 114 527(si16)
222              534:     18(int) SpecConstantOp 113 528(su16)
223    535(u16_to_i):     28(int) SpecConstantOp 128 534 128
224    536(i_to_i16): 17(int16_t) SpecConstantOp 114 524(si)
225              537: 17(int16_t) SpecConstantOp 114 524(si)
226    538(i_to_u16): 14(int16_t) SpecConstantOp 128 537 202
227              539:     28(int) SpecConstantOp 114 527(si16)
228    540(i16_to_u):     18(int) SpecConstantOp 128 539 128
229    541(u16_to_u):     18(int) SpecConstantOp 113 528(su16)
230              542: 14(int16_t) SpecConstantOp 113 525(su)
231    543(u_to_i16): 17(int16_t) SpecConstantOp 128 542 202
232    544(u_to_u16): 14(int16_t) SpecConstantOp 113 525(su)
233  545(i16_to_i64):273(int64_t) SpecConstantOp 114 527(si16)
234              546:285(int64_t) SpecConstantOp 113 528(su16)
235              547:285(int64_t) Constant 0 0
236  548(u16_to_i64):273(int64_t) SpecConstantOp 128 546 547
237  549(i64_to_i16): 17(int16_t) SpecConstantOp 114 522(si64)
238              550: 17(int16_t) SpecConstantOp 114 522(si64)
239  551(i64_to_u16): 14(int16_t) SpecConstantOp 128 550 202
240              552:273(int64_t) SpecConstantOp 114 527(si16)
241  553(i16_to_u64):285(int64_t) SpecConstantOp 128 552 547
242  554(u16_to_u64):285(int64_t) SpecConstantOp 113 528(su16)
243              555: 14(int16_t) SpecConstantOp 113 523(su64)
244  556(u64_to_i16): 17(int16_t) SpecConstantOp 128 555 202
245  557(u64_to_u16): 14(int16_t) SpecConstantOp 113 523(su64)
246  558(i16_to_u16): 14(int16_t) SpecConstantOp 128 527(si16) 202
247  559(u16_to_i16): 17(int16_t) SpecConstantOp 128 528(su16) 202
248          4(main):           2 Function None 3
249                5:             Label
250              511:           2 FunctionCall 6(literal()
251              512:           2 FunctionCall 8(operators()
252              513:           2 FunctionCall 10(typeCast()
253              514:           2 FunctionCall 12(builtinFuncs()
254                               Return
255                               FunctionEnd
256      6(literal():           2 Function None 3
257                7:             Label
258          16(u16):     15(ptr) Variable Function
259    34(indexable):     33(ptr) Variable Function
260    45(indexable):     44(ptr) Variable Function
261               31:     30(ptr) AccessChain 27 29
262               32:     18(int) Load 31
263                               Store 34(indexable) 24
264               36:     35(ptr) AccessChain 34(indexable) 32
265               37: 17(int16_t) Load 36
266               38: 14(int16_t) Bitcast 37
267               42:     30(ptr) AccessChain 27 29
268               43:     18(int) Load 42
269                               Store 45(indexable) 41
270               46:     15(ptr) AccessChain 45(indexable) 43
271               47: 14(int16_t) Load 46
272               48: 14(int16_t) IAdd 38 47
273                               Store 16(u16) 48
274                               Return
275                               FunctionEnd
276    8(operators():           2 Function None 3
277                9:             Label
278         51(u16v):     50(ptr) Variable Function
279          57(i16):     35(ptr) Variable Function
280          70(u16):     15(ptr) Variable Function
281           127(b):    126(ptr) Variable Function
282           148(u):    147(ptr) Variable Function
283           159(i):    158(ptr) Variable Function
284               52: 49(i16vec3) Load 51(u16v)
285               55: 54(i16vec3) CompositeConstruct 53 53 53
286               56: 49(i16vec3) IAdd 52 55
287                               Store 51(u16v) 56
288               58: 17(int16_t) Load 57(i16)
289               59: 17(int16_t) ISub 58 53
290                               Store 57(i16) 59
291               60: 17(int16_t) Load 57(i16)
292               61: 17(int16_t) IAdd 60 53
293                               Store 57(i16) 61
294               62: 49(i16vec3) Load 51(u16v)
295               63: 54(i16vec3) CompositeConstruct 53 53 53
296               64: 49(i16vec3) ISub 62 63
297                               Store 51(u16v) 64
298               65: 49(i16vec3) Load 51(u16v)
299               66: 49(i16vec3) Not 65
300                               Store 51(u16v) 66
301               67: 17(int16_t) Load 57(i16)
302                               Store 57(i16) 67
303               68: 49(i16vec3) Load 51(u16v)
304               69: 49(i16vec3) SNegate 68
305                               Store 51(u16v) 69
306               71: 17(int16_t) Load 57(i16)
307               72: 14(int16_t) Bitcast 71
308               73: 14(int16_t) Load 70(u16)
309               74: 14(int16_t) IAdd 73 72
310                               Store 70(u16) 74
311               75: 49(i16vec3) Load 51(u16v)
312               76: 49(i16vec3) Load 51(u16v)
313               77: 49(i16vec3) ISub 76 75
314                               Store 51(u16v) 77
315               78: 17(int16_t) Load 57(i16)
316               79: 17(int16_t) Load 57(i16)
317               80: 17(int16_t) IMul 79 78
318                               Store 57(i16) 80
319               81: 49(i16vec3) Load 51(u16v)
320               82: 49(i16vec3) Load 51(u16v)
321               83: 49(i16vec3) UDiv 82 81
322                               Store 51(u16v) 83
323               84: 17(int16_t) Load 57(i16)
324               85: 14(int16_t) Bitcast 84
325               86: 49(i16vec3) Load 51(u16v)
326               87: 49(i16vec3) CompositeConstruct 85 85 85
327               88: 49(i16vec3) UMod 86 87
328                               Store 51(u16v) 88
329               89: 49(i16vec3) Load 51(u16v)
330               90: 49(i16vec3) Load 51(u16v)
331               91: 49(i16vec3) IAdd 89 90
332                               Store 51(u16v) 91
333               92: 17(int16_t) Load 57(i16)
334               93: 14(int16_t) Bitcast 92
335               94: 14(int16_t) Load 70(u16)
336               95: 14(int16_t) ISub 93 94
337                               Store 70(u16) 95
338               96: 49(i16vec3) Load 51(u16v)
339               97: 17(int16_t) Load 57(i16)
340               98: 14(int16_t) Bitcast 97
341               99: 49(i16vec3) CompositeConstruct 98 98 98
342              100: 49(i16vec3) IMul 96 99
343                               Store 51(u16v) 100
344              101: 17(int16_t) Load 57(i16)
345              102: 17(int16_t) Load 57(i16)
346              103: 17(int16_t) IMul 101 102
347                               Store 57(i16) 103
348              104: 17(int16_t) Load 57(i16)
349              105: 17(int16_t) Load 57(i16)
350              106: 17(int16_t) SMod 104 105
351                               Store 57(i16) 106
352              107: 17(int16_t) Load 57(i16)
353              108: 49(i16vec3) Load 51(u16v)
354              109: 54(i16vec3) CompositeConstruct 107 107 107
355              110: 49(i16vec3) ShiftLeftLogical 108 109
356                               Store 51(u16v) 110
357              112:     15(ptr) AccessChain 51(u16v) 111
358              113: 14(int16_t) Load 112
359              114: 17(int16_t) Load 57(i16)
360              115: 17(int16_t) ShiftRightArithmetic 114 113
361                               Store 57(i16) 115
362              116: 17(int16_t) Load 57(i16)
363              118:     15(ptr) AccessChain 51(u16v) 117
364              119: 14(int16_t) Load 118
365              120: 17(int16_t) ShiftLeftLogical 116 119
366                               Store 57(i16) 120
367              121: 49(i16vec3) Load 51(u16v)
368              122: 17(int16_t) Load 57(i16)
369              123: 54(i16vec3) CompositeConstruct 122 122 122
370              124: 49(i16vec3) ShiftLeftLogical 121 123
371                               Store 51(u16v) 124
372              129:     15(ptr) AccessChain 51(u16v) 128
373              130: 14(int16_t) Load 129
374              131: 17(int16_t) Load 57(i16)
375              132: 14(int16_t) Bitcast 131
376              133:   125(bool) INotEqual 130 132
377                               Store 127(b) 133
378              134: 17(int16_t) Load 57(i16)
379              135: 14(int16_t) Bitcast 134
380              136:     15(ptr) AccessChain 51(u16v) 128
381              137: 14(int16_t) Load 136
382              138:   125(bool) IEqual 135 137
383                               Store 127(b) 138
384              139:     15(ptr) AccessChain 51(u16v) 128
385              140: 14(int16_t) Load 139
386              141:     15(ptr) AccessChain 51(u16v) 111
387              142: 14(int16_t) Load 141
388              143:   125(bool) UGreaterThan 140 142
389                               Store 127(b) 143
390              144: 17(int16_t) Load 57(i16)
391              145:     28(int) SConvert 144
392              146:     18(int) Bitcast 145
393              149:     18(int) Load 148(u)
394              150:   125(bool) ULessThan 146 149
395                               Store 127(b) 150
396              151:     15(ptr) AccessChain 51(u16v) 111
397              152: 14(int16_t) Load 151
398              153:     15(ptr) AccessChain 51(u16v) 128
399              154: 14(int16_t) Load 153
400              155:   125(bool) UGreaterThanEqual 152 154
401                               Store 127(b) 155
402              156: 17(int16_t) Load 57(i16)
403              157:     28(int) SConvert 156
404              160:     28(int) Load 159(i)
405              161:   125(bool) SLessThanEqual 157 160
406                               Store 127(b) 161
407              162: 17(int16_t) Load 57(i16)
408              163: 14(int16_t) Bitcast 162
409              164: 49(i16vec3) Load 51(u16v)
410              165: 49(i16vec3) CompositeConstruct 163 163 163
411              166: 49(i16vec3) BitwiseOr 164 165
412                               Store 51(u16v) 166
413              167: 17(int16_t) Load 57(i16)
414              168: 14(int16_t) Bitcast 167
415              169: 14(int16_t) Load 70(u16)
416              170: 14(int16_t) BitwiseOr 168 169
417                               Store 70(u16) 170
418              171: 17(int16_t) Load 57(i16)
419              172: 17(int16_t) Load 57(i16)
420              173: 17(int16_t) BitwiseAnd 172 171
421                               Store 57(i16) 173
422              174: 49(i16vec3) Load 51(u16v)
423              175: 49(i16vec3) Load 51(u16v)
424              176: 49(i16vec3) BitwiseAnd 174 175
425                               Store 51(u16v) 176
426              177: 17(int16_t) Load 57(i16)
427              178: 14(int16_t) Bitcast 177
428              179: 49(i16vec3) Load 51(u16v)
429              180: 49(i16vec3) CompositeConstruct 178 178 178
430              181: 49(i16vec3) BitwiseXor 179 180
431                               Store 51(u16v) 181
432              182: 49(i16vec3) Load 51(u16v)
433              183: 17(int16_t) Load 57(i16)
434              184: 14(int16_t) Bitcast 183
435              185: 49(i16vec3) CompositeConstruct 184 184 184
436              186: 49(i16vec3) BitwiseXor 182 185
437                               Store 51(u16v) 186
438                               Return
439                               FunctionEnd
440    10(typeCast():           2 Function None 3
441               11:             Label
442        189(i16v):    188(ptr) Variable Function
443          192(bv):    191(ptr) Variable Function
444        200(u16v):    199(ptr) Variable Function
445          213(iv):    212(ptr) Variable Function
446          226(uv):    225(ptr) Variable Function
447          240(fv):    239(ptr) Variable Function
448          252(dv):    251(ptr) Variable Function
449        264(f16v):    263(ptr) Variable Function
450        276(i64v):    275(ptr) Variable Function
451        290(u64v):    289(ptr) Variable Function
452              193:  190(bvec2) Load 192(bv)
453              197:187(i16vec2) Select 193 196 195
454                               Store 189(i16v) 197
455              201:  190(bvec2) Load 192(bv)
456              206:198(i16vec2) Select 201 205 204
457                               Store 200(u16v) 206
458              207:187(i16vec2) Load 189(i16v)
459              208:  190(bvec2) INotEqual 207 204
460                               Store 192(bv) 208
461              209:198(i16vec2) Load 200(u16v)
462              210:  190(bvec2) INotEqual 209 204
463                               Store 192(bv) 210
464              214:  211(ivec2) Load 213(iv)
465              215:187(i16vec2) SConvert 214
466                               Store 189(i16v) 215
467              216:  211(ivec2) Load 213(iv)
468              217:187(i16vec2) SConvert 216
469              218:198(i16vec2) Bitcast 217
470                               Store 200(u16v) 218
471              219:187(i16vec2) Load 189(i16v)
472              220:  211(ivec2) SConvert 219
473                               Store 213(iv) 220
474              221:198(i16vec2) Load 200(u16v)
475              223:  222(ivec2) UConvert 221
476              224:  211(ivec2) Bitcast 223
477                               Store 213(iv) 224
478              227:  222(ivec2) Load 226(uv)
479              228:198(i16vec2) UConvert 227
480              229:187(i16vec2) Bitcast 228
481                               Store 189(i16v) 229
482              230:  222(ivec2) Load 226(uv)
483              231:198(i16vec2) UConvert 230
484                               Store 200(u16v) 231
485              232:187(i16vec2) Load 189(i16v)
486              233:  211(ivec2) SConvert 232
487              234:  222(ivec2) Bitcast 233
488                               Store 226(uv) 234
489              235:198(i16vec2) Load 200(u16v)
490              236:  222(ivec2) UConvert 235
491                               Store 226(uv) 236
492              241:  238(fvec2) Load 240(fv)
493              242:187(i16vec2) ConvertFToS 241
494                               Store 189(i16v) 242
495              243:  238(fvec2) Load 240(fv)
496              244:198(i16vec2) ConvertFToU 243
497                               Store 200(u16v) 244
498              245:187(i16vec2) Load 189(i16v)
499              246:  238(fvec2) ConvertSToF 245
500                               Store 240(fv) 246
501              247:198(i16vec2) Load 200(u16v)
502              248:  238(fvec2) ConvertUToF 247
503                               Store 240(fv) 248
504              253:250(f64vec2) Load 252(dv)
505              254:187(i16vec2) ConvertFToS 253
506                               Store 189(i16v) 254
507              255:250(f64vec2) Load 252(dv)
508              256:198(i16vec2) ConvertFToU 255
509                               Store 200(u16v) 256
510              257:187(i16vec2) Load 189(i16v)
511              258:250(f64vec2) ConvertSToF 257
512                               Store 252(dv) 258
513              259:198(i16vec2) Load 200(u16v)
514              260:250(f64vec2) ConvertUToF 259
515                               Store 252(dv) 260
516              265:262(f16vec2) Load 264(f16v)
517              266:187(i16vec2) ConvertFToS 265
518                               Store 189(i16v) 266
519              267:262(f16vec2) Load 264(f16v)
520              268:198(i16vec2) ConvertFToU 267
521                               Store 200(u16v) 268
522              269:187(i16vec2) Load 189(i16v)
523              270:262(f16vec2) ConvertSToF 269
524                               Store 264(f16v) 270
525              271:198(i16vec2) Load 200(u16v)
526              272:262(f16vec2) ConvertUToF 271
527                               Store 264(f16v) 272
528              277:274(i64vec2) Load 276(i64v)
529              278:187(i16vec2) SConvert 277
530                               Store 189(i16v) 278
531              279:274(i64vec2) Load 276(i64v)
532              280:187(i16vec2) SConvert 279
533              281:198(i16vec2) Bitcast 280
534                               Store 200(u16v) 281
535              282:187(i16vec2) Load 189(i16v)
536              283:274(i64vec2) SConvert 282
537                               Store 276(i64v) 283
538              284:198(i16vec2) Load 200(u16v)
539              287:286(i64vec2) UConvert 284
540              288:274(i64vec2) Bitcast 287
541                               Store 276(i64v) 288
542              291:286(i64vec2) Load 290(u64v)
543              292:198(i16vec2) UConvert 291
544              293:187(i16vec2) Bitcast 292
545                               Store 189(i16v) 293
546              294:286(i64vec2) Load 290(u64v)
547              295:198(i16vec2) UConvert 294
548                               Store 200(u16v) 295
549              296:187(i16vec2) Load 189(i16v)
550              297:274(i64vec2) SConvert 296
551              298:286(i64vec2) Bitcast 297
552                               Store 290(u64v) 298
553              299:198(i16vec2) Load 200(u16v)
554              300:286(i64vec2) UConvert 299
555                               Store 290(u64v) 300
556              301:198(i16vec2) Load 200(u16v)
557              302:187(i16vec2) Bitcast 301
558                               Store 189(i16v) 302
559              303:187(i16vec2) Load 189(i16v)
560              304:198(i16vec2) Bitcast 303
561                               Store 200(u16v) 304
562                               Return
563                               FunctionEnd
564 12(builtinFuncs():           2 Function None 3
565               13:             Label
566        305(i16v):    188(ptr) Variable Function
567         311(i16):     35(ptr) Variable Function
568        319(u16v):     50(ptr) Variable Function
569         321(u16):     15(ptr) Variable Function
570        393(f16v):    392(ptr) Variable Function
571         396(exp):    395(ptr) Variable Function
572       418(packi):    158(ptr) Variable Function
573       423(packu):    147(ptr) Variable Function
574     432(packi64):    431(ptr) Variable Function
575     441(packu64):    440(ptr) Variable Function
576          450(bv):    449(ptr) Variable Function
577              306:187(i16vec2) Load 305(i16v)
578              307:187(i16vec2) ExtInst 1(GLSL.std.450) 5(SAbs) 306
579                               Store 305(i16v) 307
580              308:187(i16vec2) Load 305(i16v)
581              309:187(i16vec2) ExtInst 1(GLSL.std.450) 7(SSign) 308
582                               Store 305(i16v) 309
583              310:187(i16vec2) Load 305(i16v)
584              312: 17(int16_t) Load 311(i16)
585              313:187(i16vec2) CompositeConstruct 312 312
586              314:187(i16vec2) ExtInst 1(GLSL.std.450) 39(SMin) 310 313
587                               Store 305(i16v) 314
588              315:187(i16vec2) Load 305(i16v)
589              318:187(i16vec2) ExtInst 1(GLSL.std.450) 39(SMin) 315 317
590                               Store 305(i16v) 318
591              320: 49(i16vec3) Load 319(u16v)
592              322: 14(int16_t) Load 321(u16)
593              323: 49(i16vec3) CompositeConstruct 322 322 322
594              324: 49(i16vec3) ExtInst 1(GLSL.std.450) 38(UMin) 320 323
595                               Store 319(u16v) 324
596              325: 49(i16vec3) Load 319(u16v)
597              327: 49(i16vec3) ExtInst 1(GLSL.std.450) 38(UMin) 325 326
598                               Store 319(u16v) 327
599              328:187(i16vec2) Load 305(i16v)
600              329: 17(int16_t) Load 311(i16)
601              330:187(i16vec2) CompositeConstruct 329 329
602              331:187(i16vec2) ExtInst 1(GLSL.std.450) 42(SMax) 328 330
603                               Store 305(i16v) 331
604              332:187(i16vec2) Load 305(i16v)
605              333:187(i16vec2) ExtInst 1(GLSL.std.450) 42(SMax) 332 317
606                               Store 305(i16v) 333
607              334: 49(i16vec3) Load 319(u16v)
608              335: 14(int16_t) Load 321(u16)
609              336: 49(i16vec3) CompositeConstruct 335 335 335
610              337: 49(i16vec3) ExtInst 1(GLSL.std.450) 41(UMax) 334 336
611                               Store 319(u16v) 337
612              338: 49(i16vec3) Load 319(u16v)
613              339: 49(i16vec3) ExtInst 1(GLSL.std.450) 41(UMax) 338 326
614                               Store 319(u16v) 339
615              340:187(i16vec2) Load 305(i16v)
616              341: 17(int16_t) Load 311(i16)
617              342: 17(int16_t) SNegate 341
618              343: 17(int16_t) Load 311(i16)
619              344:187(i16vec2) CompositeConstruct 342 342
620              345:187(i16vec2) CompositeConstruct 343 343
621              346:187(i16vec2) ExtInst 1(GLSL.std.450) 45(SClamp) 340 344 345
622                               Store 305(i16v) 346
623              347:187(i16vec2) Load 305(i16v)
624              348:187(i16vec2) Load 305(i16v)
625              349:187(i16vec2) SNegate 348
626              350:187(i16vec2) Load 305(i16v)
627              351:187(i16vec2) ExtInst 1(GLSL.std.450) 45(SClamp) 347 349 350
628                               Store 305(i16v) 351
629              352: 49(i16vec3) Load 319(u16v)
630              353: 14(int16_t) Load 321(u16)
631              354: 14(int16_t) SNegate 353
632              355: 14(int16_t) Load 321(u16)
633              356: 49(i16vec3) CompositeConstruct 354 354 354
634              357: 49(i16vec3) CompositeConstruct 355 355 355
635              358: 49(i16vec3) ExtInst 1(GLSL.std.450) 44(UClamp) 352 356 357
636                               Store 319(u16v) 358
637              359: 49(i16vec3) Load 319(u16v)
638              360: 49(i16vec3) Load 319(u16v)
639              361: 49(i16vec3) SNegate 360
640              362: 49(i16vec3) Load 319(u16v)
641              363: 49(i16vec3) ExtInst 1(GLSL.std.450) 44(UClamp) 359 361 362
642                               Store 319(u16v) 363
643              364:     35(ptr) AccessChain 305(i16v) 128
644              365: 17(int16_t) Load 364
645              366:     35(ptr) AccessChain 305(i16v) 111
646              367: 17(int16_t) Load 366
647              369: 17(int16_t) Select 368 367 365
648                               Store 311(i16) 369
649              370: 17(int16_t) Load 311(i16)
650              371:187(i16vec2) CompositeConstruct 370 370
651              372: 17(int16_t) Load 311(i16)
652              373: 17(int16_t) SNegate 372
653              374:187(i16vec2) CompositeConstruct 373 373
654              377:187(i16vec2) Select 376 374 371
655                               Store 305(i16v) 377
656              378:     15(ptr) AccessChain 319(u16v) 128
657              379: 14(int16_t) Load 378
658              380:     15(ptr) AccessChain 319(u16v) 111
659              381: 14(int16_t) Load 380
660              382: 14(int16_t) Select 368 381 379
661                               Store 321(u16) 382
662              383: 14(int16_t) Load 321(u16)
663              384: 49(i16vec3) CompositeConstruct 383 383 383
664              385: 14(int16_t) Load 321(u16)
665              386: 14(int16_t) SNegate 385
666              387: 49(i16vec3) CompositeConstruct 386 386 386
667              390: 49(i16vec3) Select 389 387 384
668                               Store 319(u16v) 390
669              394:391(f16vec3) Load 393(f16v)
670              398:397(ResType) ExtInst 1(GLSL.std.450) 52(FrexpStruct) 394
671              399: 54(i16vec3) CompositeExtract 398 1
672                               Store 396(exp) 399
673              400:391(f16vec3) CompositeExtract 398 0
674                               Store 393(f16v) 400
675              401:391(f16vec3) Load 393(f16v)
676              402: 54(i16vec3) Load 396(exp)
677              403:391(f16vec3) ExtInst 1(GLSL.std.450) 53(Ldexp) 401 402
678                               Store 393(f16v) 403
679              404:391(f16vec3) Load 393(f16v)
680              405:262(f16vec2) VectorShuffle 404 404 0 1
681              406:187(i16vec2) Bitcast 405
682                               Store 305(i16v) 406
683              408:    407(ptr) AccessChain 393(f16v) 117
684              409:261(float16_t) Load 408
685              410: 14(int16_t) Bitcast 409
686              411:     15(ptr) AccessChain 319(u16v) 128
687                               Store 411 410
688              412:187(i16vec2) Load 305(i16v)
689              413:262(f16vec2) Bitcast 412
690              414:391(f16vec3) Load 393(f16v)
691              415:391(f16vec3) VectorShuffle 414 413 3 4 2
692                               Store 393(f16v) 415
693              416: 49(i16vec3) Load 319(u16v)
694              417:391(f16vec3) Bitcast 416
695                               Store 393(f16v) 417
696              419:187(i16vec2) Load 305(i16v)
697              420:     28(int) Bitcast 419
698                               Store 418(packi) 420
699              421:     28(int) Load 418(packi)
700              422:187(i16vec2) Bitcast 421
701                               Store 305(i16v) 422
702              424: 49(i16vec3) Load 319(u16v)
703              425:198(i16vec2) VectorShuffle 424 424 0 1
704              426:     18(int) Bitcast 425
705                               Store 423(packu) 426
706              427:     18(int) Load 423(packu)
707              428:198(i16vec2) Bitcast 427
708              429: 49(i16vec3) Load 319(u16v)
709              430: 49(i16vec3) VectorShuffle 429 428 3 4 2
710                               Store 319(u16v) 430
711              433: 17(int16_t) Load 311(i16)
712              435:434(i16vec4) CompositeConstruct 433 433 433 433
713              436:273(int64_t) Bitcast 435
714                               Store 432(packi64) 436
715              437:273(int64_t) Load 432(packi64)
716              438:434(i16vec4) Bitcast 437
717              439:187(i16vec2) VectorShuffle 438 438 0 1
718                               Store 305(i16v) 439
719              442: 14(int16_t) Load 321(u16)
720              444:443(i16vec4) CompositeConstruct 442 442 442 442
721              445:285(int64_t) Bitcast 444
722                               Store 441(packu64) 445
723              446:285(int64_t) Load 441(packu64)
724              447:443(i16vec4) Bitcast 446
725              448: 49(i16vec3) VectorShuffle 447 447 0 1 2
726                               Store 319(u16v) 448
727              451: 49(i16vec3) Load 319(u16v)
728              452: 14(int16_t) Load 321(u16)
729              453: 49(i16vec3) CompositeConstruct 452 452 452
730              454:  388(bvec3) ULessThan 451 453
731                               Store 450(bv) 454
732              455:187(i16vec2) Load 305(i16v)
733              456: 17(int16_t) Load 311(i16)
734              457:187(i16vec2) CompositeConstruct 456 456
735              458:  190(bvec2) SLessThan 455 457
736              459:  388(bvec3) Load 450(bv)
737              460:  388(bvec3) VectorShuffle 459 458 3 4 2
738                               Store 450(bv) 460
739              461: 49(i16vec3) Load 319(u16v)
740              462: 14(int16_t) Load 321(u16)
741              463: 49(i16vec3) CompositeConstruct 462 462 462
742              464:  388(bvec3) ULessThanEqual 461 463
743                               Store 450(bv) 464
744              465:187(i16vec2) Load 305(i16v)
745              466: 17(int16_t) Load 311(i16)
746              467:187(i16vec2) CompositeConstruct 466 466
747              468:  190(bvec2) SLessThanEqual 465 467
748              469:  388(bvec3) Load 450(bv)
749              470:  388(bvec3) VectorShuffle 469 468 3 4 2
750                               Store 450(bv) 470
751              471: 49(i16vec3) Load 319(u16v)
752              472: 14(int16_t) Load 321(u16)
753              473: 49(i16vec3) CompositeConstruct 472 472 472
754              474:  388(bvec3) UGreaterThan 471 473
755                               Store 450(bv) 474
756              475:187(i16vec2) Load 305(i16v)
757              476: 17(int16_t) Load 311(i16)
758              477:187(i16vec2) CompositeConstruct 476 476
759              478:  190(bvec2) SGreaterThan 475 477
760              479:  388(bvec3) Load 450(bv)
761              480:  388(bvec3) VectorShuffle 479 478 3 4 2
762                               Store 450(bv) 480
763              481: 49(i16vec3) Load 319(u16v)
764              482: 14(int16_t) Load 321(u16)
765              483: 49(i16vec3) CompositeConstruct 482 482 482
766              484:  388(bvec3) UGreaterThanEqual 481 483
767                               Store 450(bv) 484
768              485:187(i16vec2) Load 305(i16v)
769              486: 17(int16_t) Load 311(i16)
770              487:187(i16vec2) CompositeConstruct 486 486
771              488:  190(bvec2) SGreaterThanEqual 485 487
772              489:  388(bvec3) Load 450(bv)
773              490:  388(bvec3) VectorShuffle 489 488 3 4 2
774                               Store 450(bv) 490
775              491: 49(i16vec3) Load 319(u16v)
776              492: 14(int16_t) Load 321(u16)
777              493: 49(i16vec3) CompositeConstruct 492 492 492
778              494:  388(bvec3) IEqual 491 493
779                               Store 450(bv) 494
780              495:187(i16vec2) Load 305(i16v)
781              496: 17(int16_t) Load 311(i16)
782              497:187(i16vec2) CompositeConstruct 496 496
783              498:  190(bvec2) IEqual 495 497
784              499:  388(bvec3) Load 450(bv)
785              500:  388(bvec3) VectorShuffle 499 498 3 4 2
786                               Store 450(bv) 500
787              501: 49(i16vec3) Load 319(u16v)
788              502: 14(int16_t) Load 321(u16)
789              503: 49(i16vec3) CompositeConstruct 502 502 502
790              504:  388(bvec3) INotEqual 501 503
791                               Store 450(bv) 504
792              505:187(i16vec2) Load 305(i16v)
793              506: 17(int16_t) Load 311(i16)
794              507:187(i16vec2) CompositeConstruct 506 506
795              508:  190(bvec2) INotEqual 505 507
796              509:  388(bvec3) Load 450(bv)
797              510:  388(bvec3) VectorShuffle 509 508 3 4 2
798                               Store 450(bv) 510
799                               Return
800                               FunctionEnd