1spv.float16.frag 2Validation failed 3// Module Version 10000 4// Generated by (magic number): 8000b 5// Id's are bound by 542 6 7 Capability Shader 8 Capability Float16 9 Capability Float64 10 Capability Int64 11 Capability DerivativeControl 12 Capability InterpolationFunction 13 Capability StorageUniformBufferBlock16 14 Capability StorageUniform16 15 Capability StorageInputOutput16 16 Extension "SPV_AMD_gpu_shader_half_float" 17 Extension "SPV_KHR_16bit_storage" 18 1: ExtInstImport "GLSL.std.450" 19 MemoryModel Logical GLSL450 20 EntryPoint Fragment 4 "main" 465 21 ExecutionMode 4 OriginUpperLeft 22 Source GLSL 450 23 SourceExtension "GL_AMD_gpu_shader_half_float" 24 SourceExtension "GL_ARB_gpu_shader_int64" 25 Name 4 "main" 26 Name 6 "literal(" 27 Name 8 "operators(" 28 Name 10 "typeCast(" 29 Name 12 "builtinAngleTrigFuncs(" 30 Name 14 "builtinExpFuncs(" 31 Name 16 "builtinCommonFuncs(" 32 Name 18 "builtinPackUnpackFuncs(" 33 Name 20 "builtinGeometryFuncs(" 34 Name 22 "builtinMatrixFuncs(" 35 Name 24 "builtinVecRelFuncs(" 36 Name 26 "builtinFragProcFuncs(" 37 Name 31 "f16v" 38 Name 42 "f16v" 39 Name 64 "f16m" 40 Name 87 "f16" 41 Name 111 "b" 42 Name 153 "f16v" 43 Name 156 "bv" 44 Name 167 "fv" 45 Name 175 "dv" 46 Name 186 "iv" 47 Name 193 "uv" 48 Name 201 "i64v" 49 Name 209 "u64v" 50 Name 216 "f16v2" 51 Name 217 "f16v1" 52 Name 249 "f16v2" 53 Name 250 "f16v1" 54 Name 266 "f16v2" 55 Name 267 "f16v1" 56 Name 288 "f16" 57 Name 292 "f16v3" 58 Name 332 "bv" 59 Name 353 "b" 60 Name 363 "iv" 61 Name 364 "ResType" 62 Name 372 "u" 63 Name 373 "f16v" 64 Name 378 "f16" 65 Name 379 "f16v1" 66 Name 383 "f16v2" 67 Name 389 "f16v3" 68 Name 408 "f16m3" 69 Name 409 "f16m1" 70 Name 411 "f16m2" 71 Name 420 "f16v1" 72 Name 422 "f16v2" 73 Name 427 "f16m4" 74 Name 430 "f16" 75 Name 433 "f16m5" 76 Name 438 "f16m6" 77 Name 439 "f16m7" 78 Name 442 "bv" 79 Name 443 "f16v1" 80 Name 445 "f16v2" 81 Name 463 "f16v" 82 Name 465 "if16v" 83 Name 522 "S" 84 MemberName 522(S) 0 "x" 85 MemberName 522(S) 1 "y" 86 MemberName 522(S) 2 "z" 87 Name 524 "B1" 88 MemberName 524(B1) 0 "a" 89 MemberName 524(B1) 1 "b" 90 MemberName 524(B1) 2 "c" 91 MemberName 524(B1) 3 "d" 92 MemberName 524(B1) 4 "e" 93 MemberName 524(B1) 5 "f" 94 MemberName 524(B1) 6 "g" 95 MemberName 524(B1) 7 "h" 96 Name 526 "" 97 Name 529 "S" 98 MemberName 529(S) 0 "x" 99 MemberName 529(S) 1 "y" 100 MemberName 529(S) 2 "z" 101 Name 531 "B2" 102 MemberName 531(B2) 0 "o" 103 MemberName 531(B2) 1 "p" 104 MemberName 531(B2) 2 "q" 105 MemberName 531(B2) 3 "r" 106 MemberName 531(B2) 4 "s" 107 MemberName 531(B2) 5 "t" 108 MemberName 531(B2) 6 "u" 109 MemberName 531(B2) 7 "v" 110 Name 533 "" 111 Name 534 "sf16" 112 Name 535 "sf" 113 Name 536 "sd" 114 Name 537 "f16_to_f" 115 Name 539 "f16_to_d" 116 Name 540 "f_to_f16" 117 Name 541 "d_to_f16" 118 Decorate 465(if16v) Location 0 119 Decorate 520 ArrayStride 16 120 Decorate 521 ArrayStride 32 121 MemberDecorate 522(S) 0 Offset 0 122 MemberDecorate 522(S) 1 Offset 4 123 MemberDecorate 522(S) 2 Offset 8 124 Decorate 523 ArrayStride 16 125 MemberDecorate 524(B1) 0 Offset 0 126 MemberDecorate 524(B1) 1 Offset 4 127 MemberDecorate 524(B1) 2 Offset 8 128 MemberDecorate 524(B1) 3 Offset 16 129 MemberDecorate 524(B1) 4 ColMajor 130 MemberDecorate 524(B1) 4 Offset 48 131 MemberDecorate 524(B1) 4 MatrixStride 16 132 MemberDecorate 524(B1) 5 ColMajor 133 MemberDecorate 524(B1) 5 Offset 80 134 MemberDecorate 524(B1) 5 MatrixStride 16 135 MemberDecorate 524(B1) 6 Offset 144 136 MemberDecorate 524(B1) 7 Offset 160 137 Decorate 524(B1) Block 138 Decorate 526 DescriptorSet 0 139 Decorate 526 Binding 0 140 Decorate 527 ArrayStride 2 141 Decorate 528 ArrayStride 12 142 MemberDecorate 529(S) 0 Offset 0 143 MemberDecorate 529(S) 1 Offset 4 144 MemberDecorate 529(S) 2 Offset 8 145 Decorate 530 ArrayStride 16 146 MemberDecorate 531(B2) 0 Offset 0 147 MemberDecorate 531(B2) 1 Offset 4 148 MemberDecorate 531(B2) 2 Offset 8 149 MemberDecorate 531(B2) 3 Offset 14 150 MemberDecorate 531(B2) 4 RowMajor 151 MemberDecorate 531(B2) 4 Offset 20 152 MemberDecorate 531(B2) 4 MatrixStride 4 153 MemberDecorate 531(B2) 5 RowMajor 154 MemberDecorate 531(B2) 5 Offset 32 155 MemberDecorate 531(B2) 5 MatrixStride 4 156 MemberDecorate 531(B2) 6 Offset 56 157 MemberDecorate 531(B2) 7 Offset 72 158 Decorate 531(B2) BufferBlock 159 Decorate 533 DescriptorSet 0 160 Decorate 533 Binding 0 161 Decorate 534(sf16) SpecId 100 162 Decorate 535(sf) SpecId 101 163 Decorate 536(sd) SpecId 102 164 2: TypeVoid 165 3: TypeFunction 2 166 28: TypeFloat 16 167 29: TypeVector 28(float16_t) 2 168 30: TypePointer Function 29(f16vec2) 169 32:28(float16_t) Constant 16 170 33: TypeInt 32 0 171 34: 33(int) Constant 0 172 35: TypePointer Function 28(float16_t) 173 37:28(float16_t) Constant 46080 174 38:28(float16_t) Constant 10158 175 39: 29(f16vec2) ConstantComposite 37 38 176 56:28(float16_t) Constant 15360 177 62: TypeMatrix 29(f16vec2) 2 178 63: TypePointer Function 62 179 90: 33(int) Constant 1 180 109: TypeBool 181 110: TypePointer Function 109(bool) 182 151: TypeVector 28(float16_t) 3 183 152: TypePointer Function 151(f16vec3) 184 154: TypeVector 109(bool) 3 185 155: TypePointer Function 154(bvec3) 186 158:28(float16_t) Constant 0 187 159:151(f16vec3) ConstantComposite 158 158 158 188 160:151(f16vec3) ConstantComposite 56 56 56 189 164: TypeFloat 32 190 165: TypeVector 164(float) 3 191 166: TypePointer Function 165(fvec3) 192 172: TypeFloat 64 193 173: TypeVector 172(float64_t) 3 194 174: TypePointer Function 173(f64vec3) 195 183: TypeInt 32 1 196 184: TypeVector 183(int) 3 197 185: TypePointer Function 184(ivec3) 198 191: TypeVector 33(int) 3 199 192: TypePointer Function 191(ivec3) 200 198: TypeInt 64 1 201 199: TypeVector 198(int64_t) 3 202 200: TypePointer Function 199(i64vec3) 203 206: TypeInt 64 0 204 207: TypeVector 206(int64_t) 3 205 208: TypePointer Function 207(i64vec3) 206 214: TypeVector 28(float16_t) 4 207 215: TypePointer Function 214(f16vec4) 208 364(ResType): TypeStruct 151(f16vec3) 184(ivec3) 209 371: TypePointer Function 33(int) 210 406: TypeMatrix 151(f16vec3) 2 211 407: TypePointer Function 406 212 425: TypeMatrix 29(f16vec2) 3 213 426: TypePointer Function 425 214 431: TypeMatrix 151(f16vec3) 3 215 432: TypePointer Function 431 216 436: TypeMatrix 214(f16vec4) 4 217 437: TypePointer Function 436 218 464: TypePointer Input 151(f16vec3) 219 465(if16v): 464(ptr) Variable Input 220 466: TypePointer Input 28(float16_t) 221 509: 183(int) Constant 1 222 516:28(float16_t) Constant 14336 223 517: 29(f16vec2) ConstantComposite 516 516 224 519: 33(int) Constant 2 225 520: TypeArray 28(float16_t) 519 226 521: TypeArray 406 519 227 522(S): TypeStruct 28(float16_t) 29(f16vec2) 151(f16vec3) 228 523: TypeArray 522(S) 519 229 524(B1): TypeStruct 28(float16_t) 29(f16vec2) 151(f16vec3) 520 406 521 522(S) 523 230 525: TypePointer Uniform 524(B1) 231 526: 525(ptr) Variable Uniform 232 527: TypeArray 28(float16_t) 519 233 528: TypeArray 406 519 234 529(S): TypeStruct 28(float16_t) 29(f16vec2) 151(f16vec3) 235 530: TypeArray 529(S) 519 236 531(B2): TypeStruct 28(float16_t) 29(f16vec2) 151(f16vec3) 527 406 528 529(S) 530 237 532: TypePointer Uniform 531(B2) 238 533: 532(ptr) Variable Uniform 239 534(sf16):28(float16_t) SpecConstant 12288 240 535(sf): 164(float) SpecConstant 1048576000 241 536(sd):172(float64_t) SpecConstant 0 1071644672 242 537(f16_to_f): 164(float) SpecConstantOp 115 534(sf16) 243 538: 164(float) SpecConstantOp 115 534(sf16) 244 539(f16_to_d):172(float64_t) SpecConstantOp 115 538 245 540(f_to_f16):28(float16_t) SpecConstantOp 115 535(sf) 246 541(d_to_f16):28(float16_t) SpecConstantOp 115 536(sd) 247 4(main): 2 Function None 3 248 5: Label 249 Return 250 FunctionEnd 251 6(literal(): 2 Function None 3 252 7: Label 253 31(f16v): 30(ptr) Variable Function 254 36: 35(ptr) AccessChain 31(f16v) 34 255 Store 36 32 256 40: 29(f16vec2) Load 31(f16v) 257 41: 29(f16vec2) FAdd 40 39 258 Store 31(f16v) 41 259 Return 260 FunctionEnd 261 8(operators(): 2 Function None 3 262 9: Label 263 42(f16v): 30(ptr) Variable Function 264 64(f16m): 63(ptr) Variable Function 265 87(f16): 35(ptr) Variable Function 266 111(b): 110(ptr) Variable Function 267 43: 29(f16vec2) Load 42(f16v) 268 44: 29(f16vec2) Load 42(f16v) 269 45: 29(f16vec2) FAdd 44 43 270 Store 42(f16v) 45 271 46: 29(f16vec2) Load 42(f16v) 272 47: 29(f16vec2) Load 42(f16v) 273 48: 29(f16vec2) FSub 47 46 274 Store 42(f16v) 48 275 49: 29(f16vec2) Load 42(f16v) 276 50: 29(f16vec2) Load 42(f16v) 277 51: 29(f16vec2) FMul 50 49 278 Store 42(f16v) 51 279 52: 29(f16vec2) Load 42(f16v) 280 53: 29(f16vec2) Load 42(f16v) 281 54: 29(f16vec2) FDiv 53 52 282 Store 42(f16v) 54 283 55: 29(f16vec2) Load 42(f16v) 284 57: 29(f16vec2) CompositeConstruct 56 56 285 58: 29(f16vec2) FAdd 55 57 286 Store 42(f16v) 58 287 59: 29(f16vec2) Load 42(f16v) 288 60: 29(f16vec2) CompositeConstruct 56 56 289 61: 29(f16vec2) FSub 59 60 290 Store 42(f16v) 61 291 65: 62 Load 64(f16m) 292 66: 29(f16vec2) CompositeConstruct 56 56 293 67: 29(f16vec2) CompositeExtract 65 0 294 68: 29(f16vec2) FAdd 67 66 295 69: 29(f16vec2) CompositeExtract 65 1 296 70: 29(f16vec2) FAdd 69 66 297 71: 62 CompositeConstruct 68 70 298 Store 64(f16m) 71 299 72: 62 Load 64(f16m) 300 73: 29(f16vec2) CompositeConstruct 56 56 301 74: 29(f16vec2) CompositeExtract 72 0 302 75: 29(f16vec2) FSub 74 73 303 76: 29(f16vec2) CompositeExtract 72 1 304 77: 29(f16vec2) FSub 76 73 305 78: 62 CompositeConstruct 75 77 306 Store 64(f16m) 78 307 79: 29(f16vec2) Load 42(f16v) 308 80: 29(f16vec2) FNegate 79 309 Store 42(f16v) 80 310 81: 62 Load 64(f16m) 311 82: 29(f16vec2) CompositeExtract 81 0 312 83: 29(f16vec2) FNegate 82 313 84: 29(f16vec2) CompositeExtract 81 1 314 85: 29(f16vec2) FNegate 84 315 86: 62 CompositeConstruct 83 85 316 Store 64(f16m) 86 317 88: 35(ptr) AccessChain 42(f16v) 34 318 89:28(float16_t) Load 88 319 91: 35(ptr) AccessChain 42(f16v) 90 320 92:28(float16_t) Load 91 321 93:28(float16_t) FAdd 89 92 322 Store 87(f16) 93 323 94: 35(ptr) AccessChain 42(f16v) 34 324 95:28(float16_t) Load 94 325 96: 35(ptr) AccessChain 42(f16v) 90 326 97:28(float16_t) Load 96 327 98:28(float16_t) FSub 95 97 328 Store 87(f16) 98 329 99: 35(ptr) AccessChain 42(f16v) 34 330 100:28(float16_t) Load 99 331 101: 35(ptr) AccessChain 42(f16v) 90 332 102:28(float16_t) Load 101 333 103:28(float16_t) FMul 100 102 334 Store 87(f16) 103 335 104: 35(ptr) AccessChain 42(f16v) 34 336 105:28(float16_t) Load 104 337 106: 35(ptr) AccessChain 42(f16v) 90 338 107:28(float16_t) Load 106 339 108:28(float16_t) FDiv 105 107 340 Store 87(f16) 108 341 112: 35(ptr) AccessChain 42(f16v) 34 342 113:28(float16_t) Load 112 343 114:28(float16_t) Load 87(f16) 344 115: 109(bool) FUnordNotEqual 113 114 345 Store 111(b) 115 346 116: 35(ptr) AccessChain 42(f16v) 90 347 117:28(float16_t) Load 116 348 118:28(float16_t) Load 87(f16) 349 119: 109(bool) FOrdEqual 117 118 350 Store 111(b) 119 351 120: 35(ptr) AccessChain 42(f16v) 34 352 121:28(float16_t) Load 120 353 122:28(float16_t) Load 87(f16) 354 123: 109(bool) FOrdGreaterThan 121 122 355 Store 111(b) 123 356 124: 35(ptr) AccessChain 42(f16v) 90 357 125:28(float16_t) Load 124 358 126:28(float16_t) Load 87(f16) 359 127: 109(bool) FOrdLessThan 125 126 360 Store 111(b) 127 361 128: 35(ptr) AccessChain 42(f16v) 34 362 129:28(float16_t) Load 128 363 130:28(float16_t) Load 87(f16) 364 131: 109(bool) FOrdGreaterThanEqual 129 130 365 Store 111(b) 131 366 132: 35(ptr) AccessChain 42(f16v) 90 367 133:28(float16_t) Load 132 368 134:28(float16_t) Load 87(f16) 369 135: 109(bool) FOrdLessThanEqual 133 134 370 Store 111(b) 135 371 136: 29(f16vec2) Load 42(f16v) 372 137:28(float16_t) Load 87(f16) 373 138: 29(f16vec2) VectorTimesScalar 136 137 374 Store 42(f16v) 138 375 139: 62 Load 64(f16m) 376 140:28(float16_t) Load 87(f16) 377 141: 62 MatrixTimesScalar 139 140 378 Store 64(f16m) 141 379 142: 62 Load 64(f16m) 380 143: 29(f16vec2) Load 42(f16v) 381 144: 29(f16vec2) MatrixTimesVector 142 143 382 Store 42(f16v) 144 383 145: 29(f16vec2) Load 42(f16v) 384 146: 62 Load 64(f16m) 385 147: 29(f16vec2) VectorTimesMatrix 145 146 386 Store 42(f16v) 147 387 148: 62 Load 64(f16m) 388 149: 62 Load 64(f16m) 389 150: 62 MatrixTimesMatrix 148 149 390 Store 64(f16m) 150 391 Return 392 FunctionEnd 393 10(typeCast(): 2 Function None 3 394 11: Label 395 153(f16v): 152(ptr) Variable Function 396 156(bv): 155(ptr) Variable Function 397 167(fv): 166(ptr) Variable Function 398 175(dv): 174(ptr) Variable Function 399 186(iv): 185(ptr) Variable Function 400 193(uv): 192(ptr) Variable Function 401 201(i64v): 200(ptr) Variable Function 402 209(u64v): 208(ptr) Variable Function 403 157: 154(bvec3) Load 156(bv) 404 161:151(f16vec3) Select 157 160 159 405 Store 153(f16v) 161 406 162:151(f16vec3) Load 153(f16v) 407 163: 154(bvec3) FUnordNotEqual 162 159 408 Store 156(bv) 163 409 168: 165(fvec3) Load 167(fv) 410 169:151(f16vec3) FConvert 168 411 Store 153(f16v) 169 412 170:151(f16vec3) Load 153(f16v) 413 171: 165(fvec3) FConvert 170 414 Store 167(fv) 171 415 176:173(f64vec3) Load 175(dv) 416 177:151(f16vec3) FConvert 176 417 Store 153(f16v) 177 418 178:173(f64vec3) Load 175(dv) 419 179:172(float64_t) CompositeExtract 178 0 420 180:172(float64_t) CompositeExtract 178 1 421 181:172(float64_t) CompositeExtract 178 2 422 182:173(f64vec3) CompositeConstruct 179 180 181 423 Store 175(dv) 182 424 187: 184(ivec3) Load 186(iv) 425 188:151(f16vec3) ConvertSToF 187 426 Store 153(f16v) 188 427 189:151(f16vec3) Load 153(f16v) 428 190: 184(ivec3) ConvertFToS 189 429 Store 186(iv) 190 430 194: 191(ivec3) Load 193(uv) 431 195:151(f16vec3) ConvertUToF 194 432 Store 153(f16v) 195 433 196:151(f16vec3) Load 153(f16v) 434 197: 191(ivec3) ConvertFToU 196 435 Store 193(uv) 197 436 202:199(i64vec3) Load 201(i64v) 437 203:151(f16vec3) ConvertSToF 202 438 Store 153(f16v) 203 439 204:151(f16vec3) Load 153(f16v) 440 205:199(i64vec3) ConvertFToS 204 441 Store 201(i64v) 205 442 210:207(i64vec3) Load 209(u64v) 443 211:151(f16vec3) ConvertUToF 210 444 Store 153(f16v) 211 445 212:151(f16vec3) Load 153(f16v) 446 213:207(i64vec3) ConvertFToU 212 447 Store 209(u64v) 213 448 Return 449 FunctionEnd 45012(builtinAngleTrigFuncs(): 2 Function None 3 451 13: Label 452 216(f16v2): 215(ptr) Variable Function 453 217(f16v1): 215(ptr) Variable Function 454 218:214(f16vec4) Load 217(f16v1) 455 219:214(f16vec4) ExtInst 1(GLSL.std.450) 11(Radians) 218 456 Store 216(f16v2) 219 457 220:214(f16vec4) Load 217(f16v1) 458 221:214(f16vec4) ExtInst 1(GLSL.std.450) 12(Degrees) 220 459 Store 216(f16v2) 221 460 222:214(f16vec4) Load 217(f16v1) 461 223:214(f16vec4) ExtInst 1(GLSL.std.450) 13(Sin) 222 462 Store 216(f16v2) 223 463 224:214(f16vec4) Load 217(f16v1) 464 225:214(f16vec4) ExtInst 1(GLSL.std.450) 14(Cos) 224 465 Store 216(f16v2) 225 466 226:214(f16vec4) Load 217(f16v1) 467 227:214(f16vec4) ExtInst 1(GLSL.std.450) 15(Tan) 226 468 Store 216(f16v2) 227 469 228:214(f16vec4) Load 217(f16v1) 470 229:214(f16vec4) ExtInst 1(GLSL.std.450) 16(Asin) 228 471 Store 216(f16v2) 229 472 230:214(f16vec4) Load 217(f16v1) 473 231:214(f16vec4) ExtInst 1(GLSL.std.450) 17(Acos) 230 474 Store 216(f16v2) 231 475 232:214(f16vec4) Load 217(f16v1) 476 233:214(f16vec4) Load 216(f16v2) 477 234:214(f16vec4) ExtInst 1(GLSL.std.450) 25(Atan2) 232 233 478 Store 216(f16v2) 234 479 235:214(f16vec4) Load 217(f16v1) 480 236:214(f16vec4) ExtInst 1(GLSL.std.450) 18(Atan) 235 481 Store 216(f16v2) 236 482 237:214(f16vec4) Load 217(f16v1) 483 238:214(f16vec4) ExtInst 1(GLSL.std.450) 19(Sinh) 237 484 Store 216(f16v2) 238 485 239:214(f16vec4) Load 217(f16v1) 486 240:214(f16vec4) ExtInst 1(GLSL.std.450) 20(Cosh) 239 487 Store 216(f16v2) 240 488 241:214(f16vec4) Load 217(f16v1) 489 242:214(f16vec4) ExtInst 1(GLSL.std.450) 21(Tanh) 241 490 Store 216(f16v2) 242 491 243:214(f16vec4) Load 217(f16v1) 492 244:214(f16vec4) ExtInst 1(GLSL.std.450) 22(Asinh) 243 493 Store 216(f16v2) 244 494 245:214(f16vec4) Load 217(f16v1) 495 246:214(f16vec4) ExtInst 1(GLSL.std.450) 23(Acosh) 245 496 Store 216(f16v2) 246 497 247:214(f16vec4) Load 217(f16v1) 498 248:214(f16vec4) ExtInst 1(GLSL.std.450) 24(Atanh) 247 499 Store 216(f16v2) 248 500 Return 501 FunctionEnd 50214(builtinExpFuncs(): 2 Function None 3 503 15: Label 504 249(f16v2): 30(ptr) Variable Function 505 250(f16v1): 30(ptr) Variable Function 506 251: 29(f16vec2) Load 250(f16v1) 507 252: 29(f16vec2) Load 249(f16v2) 508 253: 29(f16vec2) ExtInst 1(GLSL.std.450) 26(Pow) 251 252 509 Store 249(f16v2) 253 510 254: 29(f16vec2) Load 250(f16v1) 511 255: 29(f16vec2) ExtInst 1(GLSL.std.450) 27(Exp) 254 512 Store 249(f16v2) 255 513 256: 29(f16vec2) Load 250(f16v1) 514 257: 29(f16vec2) ExtInst 1(GLSL.std.450) 28(Log) 256 515 Store 249(f16v2) 257 516 258: 29(f16vec2) Load 250(f16v1) 517 259: 29(f16vec2) ExtInst 1(GLSL.std.450) 29(Exp2) 258 518 Store 249(f16v2) 259 519 260: 29(f16vec2) Load 250(f16v1) 520 261: 29(f16vec2) ExtInst 1(GLSL.std.450) 30(Log2) 260 521 Store 249(f16v2) 261 522 262: 29(f16vec2) Load 250(f16v1) 523 263: 29(f16vec2) ExtInst 1(GLSL.std.450) 31(Sqrt) 262 524 Store 249(f16v2) 263 525 264: 29(f16vec2) Load 250(f16v1) 526 265: 29(f16vec2) ExtInst 1(GLSL.std.450) 32(InverseSqrt) 264 527 Store 249(f16v2) 265 528 Return 529 FunctionEnd 53016(builtinCommonFuncs(): 2 Function None 3 531 17: Label 532 266(f16v2): 152(ptr) Variable Function 533 267(f16v1): 152(ptr) Variable Function 534 288(f16): 35(ptr) Variable Function 535 292(f16v3): 152(ptr) Variable Function 536 332(bv): 155(ptr) Variable Function 537 353(b): 110(ptr) Variable Function 538 363(iv): 185(ptr) Variable Function 539 268:151(f16vec3) Load 267(f16v1) 540 269:151(f16vec3) ExtInst 1(GLSL.std.450) 4(FAbs) 268 541 Store 266(f16v2) 269 542 270:151(f16vec3) Load 267(f16v1) 543 271:151(f16vec3) ExtInst 1(GLSL.std.450) 6(FSign) 270 544 Store 266(f16v2) 271 545 272:151(f16vec3) Load 267(f16v1) 546 273:151(f16vec3) ExtInst 1(GLSL.std.450) 8(Floor) 272 547 Store 266(f16v2) 273 548 274:151(f16vec3) Load 267(f16v1) 549 275:151(f16vec3) ExtInst 1(GLSL.std.450) 3(Trunc) 274 550 Store 266(f16v2) 275 551 276:151(f16vec3) Load 267(f16v1) 552 277:151(f16vec3) ExtInst 1(GLSL.std.450) 1(Round) 276 553 Store 266(f16v2) 277 554 278:151(f16vec3) Load 267(f16v1) 555 279:151(f16vec3) ExtInst 1(GLSL.std.450) 2(RoundEven) 278 556 Store 266(f16v2) 279 557 280:151(f16vec3) Load 267(f16v1) 558 281:151(f16vec3) ExtInst 1(GLSL.std.450) 9(Ceil) 280 559 Store 266(f16v2) 281 560 282:151(f16vec3) Load 267(f16v1) 561 283:151(f16vec3) ExtInst 1(GLSL.std.450) 10(Fract) 282 562 Store 266(f16v2) 283 563 284:151(f16vec3) Load 267(f16v1) 564 285:151(f16vec3) Load 266(f16v2) 565 286:151(f16vec3) FMod 284 285 566 Store 266(f16v2) 286 567 287:151(f16vec3) Load 267(f16v1) 568 289:28(float16_t) Load 288(f16) 569 290:151(f16vec3) CompositeConstruct 289 289 289 570 291:151(f16vec3) FMod 287 290 571 Store 266(f16v2) 291 572 293:151(f16vec3) Load 267(f16v1) 573 294:151(f16vec3) ExtInst 1(GLSL.std.450) 35(Modf) 293 266(f16v2) 574 Store 292(f16v3) 294 575 295:151(f16vec3) Load 267(f16v1) 576 296:151(f16vec3) Load 266(f16v2) 577 297:151(f16vec3) ExtInst 1(GLSL.std.450) 37(FMin) 295 296 578 Store 292(f16v3) 297 579 298:151(f16vec3) Load 267(f16v1) 580 299:28(float16_t) Load 288(f16) 581 300:151(f16vec3) CompositeConstruct 299 299 299 582 301:151(f16vec3) ExtInst 1(GLSL.std.450) 37(FMin) 298 300 583 Store 292(f16v3) 301 584 302:151(f16vec3) Load 267(f16v1) 585 303:151(f16vec3) Load 266(f16v2) 586 304:151(f16vec3) ExtInst 1(GLSL.std.450) 40(FMax) 302 303 587 Store 292(f16v3) 304 588 305:151(f16vec3) Load 267(f16v1) 589 306:28(float16_t) Load 288(f16) 590 307:151(f16vec3) CompositeConstruct 306 306 306 591 308:151(f16vec3) ExtInst 1(GLSL.std.450) 40(FMax) 305 307 592 Store 292(f16v3) 308 593 309:151(f16vec3) Load 267(f16v1) 594 310:28(float16_t) Load 288(f16) 595 311: 35(ptr) AccessChain 266(f16v2) 34 596 312:28(float16_t) Load 311 597 313:151(f16vec3) CompositeConstruct 310 310 310 598 314:151(f16vec3) CompositeConstruct 312 312 312 599 315:151(f16vec3) ExtInst 1(GLSL.std.450) 43(FClamp) 309 313 314 600 Store 292(f16v3) 315 601 316:151(f16vec3) Load 267(f16v1) 602 317:151(f16vec3) Load 266(f16v2) 603 318:28(float16_t) Load 288(f16) 604 319:151(f16vec3) CompositeConstruct 318 318 318 605 320:151(f16vec3) ExtInst 1(GLSL.std.450) 43(FClamp) 316 317 319 606 Store 292(f16v3) 320 607 321:151(f16vec3) Load 267(f16v1) 608 322:151(f16vec3) Load 266(f16v2) 609 323:28(float16_t) Load 288(f16) 610 324:151(f16vec3) CompositeConstruct 323 323 323 611 325:151(f16vec3) ExtInst 1(GLSL.std.450) 46(FMix) 321 322 324 612 Store 292(f16v3) 325 613 326:151(f16vec3) Load 267(f16v1) 614 327:151(f16vec3) Load 266(f16v2) 615 328:151(f16vec3) Load 292(f16v3) 616 329:151(f16vec3) ExtInst 1(GLSL.std.450) 46(FMix) 326 327 328 617 Store 292(f16v3) 329 618 330:151(f16vec3) Load 267(f16v1) 619 331:151(f16vec3) Load 266(f16v2) 620 333: 154(bvec3) Load 332(bv) 621 334:151(f16vec3) Select 333 331 330 622 Store 292(f16v3) 334 623 335:151(f16vec3) Load 267(f16v1) 624 336:151(f16vec3) Load 266(f16v2) 625 337:151(f16vec3) ExtInst 1(GLSL.std.450) 48(Step) 335 336 626 Store 292(f16v3) 337 627 338:28(float16_t) Load 288(f16) 628 339:151(f16vec3) Load 292(f16v3) 629 340:151(f16vec3) CompositeConstruct 338 338 338 630 341:151(f16vec3) ExtInst 1(GLSL.std.450) 48(Step) 340 339 631 Store 292(f16v3) 341 632 342:151(f16vec3) Load 267(f16v1) 633 343:151(f16vec3) Load 266(f16v2) 634 344:151(f16vec3) Load 292(f16v3) 635 345:151(f16vec3) ExtInst 1(GLSL.std.450) 49(SmoothStep) 342 343 344 636 Store 292(f16v3) 345 637 346:28(float16_t) Load 288(f16) 638 347: 35(ptr) AccessChain 267(f16v1) 34 639 348:28(float16_t) Load 347 640 349:151(f16vec3) Load 266(f16v2) 641 350:151(f16vec3) CompositeConstruct 346 346 346 642 351:151(f16vec3) CompositeConstruct 348 348 348 643 352:151(f16vec3) ExtInst 1(GLSL.std.450) 49(SmoothStep) 350 351 349 644 Store 292(f16v3) 352 645 354:28(float16_t) Load 288(f16) 646 355: 109(bool) IsNan 354 647 Store 353(b) 355 648 356:151(f16vec3) Load 267(f16v1) 649 357: 154(bvec3) IsInf 356 650 Store 332(bv) 357 651 358:151(f16vec3) Load 267(f16v1) 652 359:151(f16vec3) Load 266(f16v2) 653 360:151(f16vec3) Load 292(f16v3) 654 361:151(f16vec3) ExtInst 1(GLSL.std.450) 50(Fma) 358 359 360 655 Store 292(f16v3) 361 656 362:151(f16vec3) Load 267(f16v1) 657 365:364(ResType) ExtInst 1(GLSL.std.450) 52(FrexpStruct) 362 658 366: 184(ivec3) CompositeExtract 365 1 659 Store 363(iv) 366 660 367:151(f16vec3) CompositeExtract 365 0 661 Store 266(f16v2) 367 662 368:151(f16vec3) Load 267(f16v1) 663 369: 184(ivec3) Load 363(iv) 664 370:151(f16vec3) ExtInst 1(GLSL.std.450) 53(Ldexp) 368 369 665 Store 266(f16v2) 370 666 Return 667 FunctionEnd 66818(builtinPackUnpackFuncs(): 2 Function None 3 669 19: Label 670 372(u): 371(ptr) Variable Function 671 373(f16v): 30(ptr) Variable Function 672 374: 29(f16vec2) Load 373(f16v) 673 375: 33(int) Bitcast 374 674 Store 372(u) 375 675 376: 33(int) Load 372(u) 676 377: 29(f16vec2) Bitcast 376 677 Store 373(f16v) 377 678 Return 679 FunctionEnd 68020(builtinGeometryFuncs(): 2 Function None 3 681 21: Label 682 378(f16): 35(ptr) Variable Function 683 379(f16v1): 152(ptr) Variable Function 684 383(f16v2): 152(ptr) Variable Function 685 389(f16v3): 152(ptr) Variable Function 686 380:151(f16vec3) Load 379(f16v1) 687 381:28(float16_t) ExtInst 1(GLSL.std.450) 66(Length) 380 688 Store 378(f16) 381 689 382:151(f16vec3) Load 379(f16v1) 690 384:151(f16vec3) Load 383(f16v2) 691 385:28(float16_t) ExtInst 1(GLSL.std.450) 67(Distance) 382 384 692 Store 378(f16) 385 693 386:151(f16vec3) Load 379(f16v1) 694 387:151(f16vec3) Load 383(f16v2) 695 388:28(float16_t) Dot 386 387 696 Store 378(f16) 388 697 390:151(f16vec3) Load 379(f16v1) 698 391:151(f16vec3) Load 383(f16v2) 699 392:151(f16vec3) ExtInst 1(GLSL.std.450) 68(Cross) 390 391 700 Store 389(f16v3) 392 701 393:151(f16vec3) Load 379(f16v1) 702 394:151(f16vec3) ExtInst 1(GLSL.std.450) 69(Normalize) 393 703 Store 383(f16v2) 394 704 395:151(f16vec3) Load 379(f16v1) 705 396:151(f16vec3) Load 383(f16v2) 706 397:151(f16vec3) Load 389(f16v3) 707 398:151(f16vec3) ExtInst 1(GLSL.std.450) 70(FaceForward) 395 396 397 708 Store 389(f16v3) 398 709 399:151(f16vec3) Load 379(f16v1) 710 400:151(f16vec3) Load 383(f16v2) 711 401:151(f16vec3) ExtInst 1(GLSL.std.450) 71(Reflect) 399 400 712 Store 389(f16v3) 401 713 402:151(f16vec3) Load 379(f16v1) 714 403:151(f16vec3) Load 383(f16v2) 715 404:28(float16_t) Load 378(f16) 716 405:151(f16vec3) ExtInst 1(GLSL.std.450) 72(Refract) 402 403 404 717 Store 389(f16v3) 405 718 Return 719 FunctionEnd 72022(builtinMatrixFuncs(): 2 Function None 3 721 23: Label 722 408(f16m3): 407(ptr) Variable Function 723 409(f16m1): 407(ptr) Variable Function 724 411(f16m2): 407(ptr) Variable Function 725 420(f16v1): 152(ptr) Variable Function 726 422(f16v2): 30(ptr) Variable Function 727 427(f16m4): 426(ptr) Variable Function 728 430(f16): 35(ptr) Variable Function 729 433(f16m5): 432(ptr) Variable Function 730 438(f16m6): 437(ptr) Variable Function 731 439(f16m7): 437(ptr) Variable Function 732 410: 406 Load 409(f16m1) 733 412: 406 Load 411(f16m2) 734 413:151(f16vec3) CompositeExtract 410 0 735 414:151(f16vec3) CompositeExtract 412 0 736 415:151(f16vec3) FMul 413 414 737 416:151(f16vec3) CompositeExtract 410 1 738 417:151(f16vec3) CompositeExtract 412 1 739 418:151(f16vec3) FMul 416 417 740 419: 406 CompositeConstruct 415 418 741 Store 408(f16m3) 419 742 421:151(f16vec3) Load 420(f16v1) 743 423: 29(f16vec2) Load 422(f16v2) 744 424: 406 OuterProduct 421 423 745 Store 409(f16m1) 424 746 428: 406 Load 409(f16m1) 747 429: 425 Transpose 428 748 Store 427(f16m4) 429 749 434: 431 Load 433(f16m5) 750 435:28(float16_t) ExtInst 1(GLSL.std.450) 33(Determinant) 434 751 Store 430(f16) 435 752 440: 436 Load 439(f16m7) 753 441: 436 ExtInst 1(GLSL.std.450) 34(MatrixInverse) 440 754 Store 438(f16m6) 441 755 Return 756 FunctionEnd 75724(builtinVecRelFuncs(): 2 Function None 3 758 25: Label 759 442(bv): 155(ptr) Variable Function 760 443(f16v1): 152(ptr) Variable Function 761 445(f16v2): 152(ptr) Variable Function 762 444:151(f16vec3) Load 443(f16v1) 763 446:151(f16vec3) Load 445(f16v2) 764 447: 154(bvec3) FOrdLessThan 444 446 765 Store 442(bv) 447 766 448:151(f16vec3) Load 443(f16v1) 767 449:151(f16vec3) Load 445(f16v2) 768 450: 154(bvec3) FOrdLessThanEqual 448 449 769 Store 442(bv) 450 770 451:151(f16vec3) Load 443(f16v1) 771 452:151(f16vec3) Load 445(f16v2) 772 453: 154(bvec3) FOrdGreaterThan 451 452 773 Store 442(bv) 453 774 454:151(f16vec3) Load 443(f16v1) 775 455:151(f16vec3) Load 445(f16v2) 776 456: 154(bvec3) FOrdGreaterThanEqual 454 455 777 Store 442(bv) 456 778 457:151(f16vec3) Load 443(f16v1) 779 458:151(f16vec3) Load 445(f16v2) 780 459: 154(bvec3) FOrdEqual 457 458 781 Store 442(bv) 459 782 460:151(f16vec3) Load 443(f16v1) 783 461:151(f16vec3) Load 445(f16v2) 784 462: 154(bvec3) FUnordNotEqual 460 461 785 Store 442(bv) 462 786 Return 787 FunctionEnd 78826(builtinFragProcFuncs(): 2 Function None 3 789 27: Label 790 463(f16v): 152(ptr) Variable Function 791 467: 466(ptr) AccessChain 465(if16v) 34 792 468:28(float16_t) Load 467 793 469:28(float16_t) DPdx 468 794 470: 35(ptr) AccessChain 463(f16v) 34 795 Store 470 469 796 471: 466(ptr) AccessChain 465(if16v) 90 797 472:28(float16_t) Load 471 798 473:28(float16_t) DPdy 472 799 474: 35(ptr) AccessChain 463(f16v) 90 800 Store 474 473 801 475:151(f16vec3) Load 465(if16v) 802 476: 29(f16vec2) VectorShuffle 475 475 0 1 803 477: 29(f16vec2) DPdxFine 476 804 478: 35(ptr) AccessChain 463(f16v) 34 805 479:28(float16_t) CompositeExtract 477 0 806 Store 478 479 807 480: 35(ptr) AccessChain 463(f16v) 90 808 481:28(float16_t) CompositeExtract 477 1 809 Store 480 481 810 482:151(f16vec3) Load 465(if16v) 811 483: 29(f16vec2) VectorShuffle 482 482 0 1 812 484: 29(f16vec2) DPdyFine 483 813 485: 35(ptr) AccessChain 463(f16v) 34 814 486:28(float16_t) CompositeExtract 484 0 815 Store 485 486 816 487: 35(ptr) AccessChain 463(f16v) 90 817 488:28(float16_t) CompositeExtract 484 1 818 Store 487 488 819 489:151(f16vec3) Load 465(if16v) 820 490:151(f16vec3) DPdxCoarse 489 821 Store 463(f16v) 490 822 491:151(f16vec3) Load 465(if16v) 823 492:151(f16vec3) DPdxCoarse 491 824 Store 463(f16v) 492 825 493: 466(ptr) AccessChain 465(if16v) 34 826 494:28(float16_t) Load 493 827 495:28(float16_t) Fwidth 494 828 496: 35(ptr) AccessChain 463(f16v) 34 829 Store 496 495 830 497:151(f16vec3) Load 465(if16v) 831 498: 29(f16vec2) VectorShuffle 497 497 0 1 832 499: 29(f16vec2) FwidthFine 498 833 500: 35(ptr) AccessChain 463(f16v) 34 834 501:28(float16_t) CompositeExtract 499 0 835 Store 500 501 836 502: 35(ptr) AccessChain 463(f16v) 90 837 503:28(float16_t) CompositeExtract 499 1 838 Store 502 503 839 504:151(f16vec3) Load 465(if16v) 840 505:151(f16vec3) FwidthCoarse 504 841 Store 463(f16v) 505 842 506: 466(ptr) AccessChain 465(if16v) 34 843 507:28(float16_t) ExtInst 1(GLSL.std.450) 76(InterpolateAtCentroid) 506 844 508: 35(ptr) AccessChain 463(f16v) 34 845 Store 508 507 846 510:151(f16vec3) ExtInst 1(GLSL.std.450) 77(InterpolateAtSample) 465(if16v) 509 847 511: 29(f16vec2) VectorShuffle 510 510 0 1 848 512: 35(ptr) AccessChain 463(f16v) 34 849 513:28(float16_t) CompositeExtract 511 0 850 Store 512 513 851 514: 35(ptr) AccessChain 463(f16v) 90 852 515:28(float16_t) CompositeExtract 511 1 853 Store 514 515 854 518:151(f16vec3) ExtInst 1(GLSL.std.450) 78(InterpolateAtOffset) 465(if16v) 517 855 Store 463(f16v) 518 856 Return 857 FunctionEnd 858