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