1spv.coopmatKHR_constructor.comp 2// Module Version 10000 3// Generated by (magic number): 8000b 4// Id's are bound by 481 5 6 Capability Shader 7 Capability Float16 8 Capability Int16 9 Capability Int8 10 Capability VulkanMemoryModelKHR 11 Capability CooperativeMatrixKHR 12 Extension "SPV_KHR_cooperative_matrix" 13 Extension "SPV_KHR_vulkan_memory_model" 14 1: ExtInstImport "GLSL.std.450" 15 MemoryModel Logical VulkanKHR 16 EntryPoint GLCompute 4 "main" 17 ExecutionMode 4 LocalSize 64 1 1 18 Source GLSL 450 19 SourceExtension "GL_EXT_shader_explicit_arithmetic_types" 20 SourceExtension "GL_KHR_cooperative_matrix" 21 SourceExtension "GL_KHR_memory_scope_semantics" 22 Name 4 "main" 23 Name 154 "v" 24 Name 158 "v" 25 Name 164 "v" 26 Name 170 "v" 27 Name 176 "v" 28 Name 182 "v" 29 Name 188 "v" 30 Name 194 "v" 31 Name 199 "v" 32 Name 204 "v" 33 Name 207 "v" 34 Name 212 "v" 35 Name 217 "v" 36 Name 222 "v" 37 Name 227 "v" 38 Name 232 "v" 39 Name 237 "v" 40 Name 242 "v" 41 Name 247 "v" 42 Name 250 "v" 43 Name 255 "v" 44 Name 260 "v" 45 Name 265 "v" 46 Name 271 "v" 47 Name 277 "v" 48 Name 282 "v" 49 Name 287 "v" 50 Name 292 "v" 51 Name 295 "v" 52 Name 300 "v" 53 Name 306 "v" 54 Name 311 "v" 55 Name 317 "v" 56 Name 322 "v" 57 Name 327 "v" 58 Name 332 "v" 59 Name 337 "v" 60 Name 340 "v" 61 Name 346 "v" 62 Name 352 "v" 63 Name 357 "v" 64 Name 362 "v" 65 Name 367 "v" 66 Name 372 "v" 67 Name 378 "v" 68 Name 384 "v" 69 Name 387 "v" 70 Name 392 "v" 71 Name 397 "v" 72 Name 402 "v" 73 Name 407 "v" 74 Name 413 "v" 75 Name 418 "v" 76 Name 424 "v" 77 Name 429 "v" 78 Name 432 "v" 79 Name 437 "v" 80 Name 442 "v" 81 Name 447 "v" 82 Name 453 "v" 83 Name 459 "v" 84 Name 464 "v" 85 Name 469 "v" 86 Name 474 "v" 87 Decorate 480 BuiltIn WorkgroupSize 88 2: TypeVoid 89 3: TypeFunction 2 90 6: TypeFloat 32 91 7: TypeInt 32 0 92 8: 7(int) Constant 3 93 9: 7(int) Constant 8 94 10: 7(int) Constant 0 95 11: TypeCooperativeMatrixKHR 6(float) 8 9 9 10 96 12: 6(float) Constant 1065353216 97 13: 11 ConstantComposite 12 98 14: 6(float) Constant 1073741824 99 15: 11 ConstantComposite 14 100 16: 6(float) Constant 1077936128 101 17: 11 ConstantComposite 16 102 18: 6(float) Constant 1082130432 103 19: 11 ConstantComposite 18 104 20: 6(float) Constant 1084227584 105 21: 11 ConstantComposite 20 106 22: 6(float) Constant 1086324736 107 23: 11 ConstantComposite 22 108 24: 6(float) Constant 1088421888 109 25: 11 ConstantComposite 24 110 26: 6(float) Constant 1090519040 111 27: 11 ConstantComposite 26 112 28: TypeFloat 16 113 29: TypeCooperativeMatrixKHR 28(float16_t) 8 9 9 10 114 30:28(float16_t) Constant 18816 115 31: 29 ConstantComposite 30 116 32:28(float16_t) Constant 18944 117 33: 29 ConstantComposite 32 118 34:28(float16_t) Constant 19072 119 35: 29 ConstantComposite 34 120 36:28(float16_t) Constant 19200 121 37: 29 ConstantComposite 36 122 38:28(float16_t) Constant 19328 123 39: 29 ConstantComposite 38 124 40:28(float16_t) Constant 19456 125 41: 29 ConstantComposite 40 126 42:28(float16_t) Constant 19520 127 43: 29 ConstantComposite 42 128 44:28(float16_t) Constant 19584 129 45: 29 ConstantComposite 44 130 46: TypeCooperativeMatrixKHR 7(int) 8 9 9 10 131 47: 7(int) Constant 21 132 48: 46 ConstantComposite 47 133 49: 7(int) Constant 22 134 50: 46 ConstantComposite 49 135 51: 7(int) Constant 23 136 52: 46 ConstantComposite 51 137 53: 7(int) Constant 24 138 54: 46 ConstantComposite 53 139 55: 7(int) Constant 25 140 56: 46 ConstantComposite 55 141 57: 7(int) Constant 26 142 58: 46 ConstantComposite 57 143 59: 7(int) Constant 27 144 60: 46 ConstantComposite 59 145 61: 7(int) Constant 28 146 62: 46 ConstantComposite 61 147 63: TypeInt 16 0 148 64: TypeCooperativeMatrixKHR 63(int16_t) 8 9 9 10 149 65: 63(int16_t) Constant 31 150 66: 64 ConstantComposite 65 151 67: 63(int16_t) Constant 32 152 68: 64 ConstantComposite 67 153 69: 63(int16_t) Constant 33 154 70: 64 ConstantComposite 69 155 71: 63(int16_t) Constant 34 156 72: 64 ConstantComposite 71 157 73: 63(int16_t) Constant 35 158 74: 64 ConstantComposite 73 159 75: 63(int16_t) Constant 36 160 76: 64 ConstantComposite 75 161 77: 63(int16_t) Constant 37 162 78: 64 ConstantComposite 77 163 79: 63(int16_t) Constant 38 164 80: 64 ConstantComposite 79 165 81: TypeInt 8 0 166 82: TypeCooperativeMatrixKHR 81(int8_t) 8 9 9 10 167 83: 81(int8_t) Constant 41 168 84: 82 ConstantComposite 83 169 85: 81(int8_t) Constant 42 170 86: 82 ConstantComposite 85 171 87: 81(int8_t) Constant 43 172 88: 82 ConstantComposite 87 173 89: 81(int8_t) Constant 44 174 90: 82 ConstantComposite 89 175 91: 81(int8_t) Constant 45 176 92: 82 ConstantComposite 91 177 93: 81(int8_t) Constant 46 178 94: 82 ConstantComposite 93 179 95: 81(int8_t) Constant 47 180 96: 82 ConstantComposite 95 181 97: 81(int8_t) Constant 48 182 98: 82 ConstantComposite 97 183 99: TypeInt 32 1 184 100: TypeCooperativeMatrixKHR 99(int) 8 9 9 10 185 101: 99(int) Constant 51 186 102: 100 ConstantComposite 101 187 103: 99(int) Constant 52 188 104: 100 ConstantComposite 103 189 105: 99(int) Constant 53 190 106: 100 ConstantComposite 105 191 107: 99(int) Constant 54 192 108: 100 ConstantComposite 107 193 109: 99(int) Constant 55 194 110: 100 ConstantComposite 109 195 111: 99(int) Constant 56 196 112: 100 ConstantComposite 111 197 113: 99(int) Constant 57 198 114: 100 ConstantComposite 113 199 115: 99(int) Constant 58 200 116: 100 ConstantComposite 115 201 117: TypeInt 16 1 202 118: TypeCooperativeMatrixKHR 117(int16_t) 8 9 9 10 203 119:117(int16_t) Constant 61 204 120: 118 ConstantComposite 119 205 121:117(int16_t) Constant 62 206 122: 118 ConstantComposite 121 207 123:117(int16_t) Constant 63 208 124: 118 ConstantComposite 123 209 125:117(int16_t) Constant 64 210 126: 118 ConstantComposite 125 211 127:117(int16_t) Constant 65 212 128: 118 ConstantComposite 127 213 129:117(int16_t) Constant 66 214 130: 118 ConstantComposite 129 215 131:117(int16_t) Constant 67 216 132: 118 ConstantComposite 131 217 133:117(int16_t) Constant 68 218 134: 118 ConstantComposite 133 219 135: TypeInt 8 1 220 136: TypeCooperativeMatrixKHR 135(int8_t) 8 9 9 10 221 137: 135(int8_t) Constant 71 222 138: 136 ConstantComposite 137 223 139: 135(int8_t) Constant 72 224 140: 136 ConstantComposite 139 225 141: 135(int8_t) Constant 73 226 142: 136 ConstantComposite 141 227 143: 135(int8_t) Constant 74 228 144: 136 ConstantComposite 143 229 145: 135(int8_t) Constant 75 230 146: 136 ConstantComposite 145 231 147: 135(int8_t) Constant 76 232 148: 136 ConstantComposite 147 233 149: 135(int8_t) Constant 77 234 150: 136 ConstantComposite 149 235 151: 135(int8_t) Constant 78 236 152: 136 ConstantComposite 151 237 153: TypePointer Function 11 238 155: 6(float) Constant 1120534528 239 156: 11 ConstantComposite 155 240 157: TypePointer Function 29 241 159:28(float16_t) Constant 22112 242 160: 29 ConstantComposite 159 243 163: TypePointer Function 46 244 165: 7(int) Constant 103 245 166: 46 ConstantComposite 165 246 169: TypePointer Function 64 247 171: 63(int16_t) Constant 104 248 172: 64 ConstantComposite 171 249 175: TypePointer Function 82 250 177: 81(int8_t) Constant 105 251 178: 82 ConstantComposite 177 252 181: TypePointer Function 100 253 183: 99(int) Constant 106 254 184: 100 ConstantComposite 183 255 187: TypePointer Function 118 256 189:117(int16_t) Constant 107 257 190: 118 ConstantComposite 189 258 193: TypePointer Function 136 259 195: 135(int8_t) Constant 108 260 196: 136 ConstantComposite 195 261 200: 6(float) Constant 1121845248 262 201: 11 ConstantComposite 200 263 205:28(float16_t) Constant 22272 264 206: 29 ConstantComposite 205 265 208: 7(int) Constant 113 266 209: 46 ConstantComposite 208 267 213: 63(int16_t) Constant 114 268 214: 64 ConstantComposite 213 269 218: 81(int8_t) Constant 115 270 219: 82 ConstantComposite 218 271 223: 99(int) Constant 116 272 224: 100 ConstantComposite 223 273 228:117(int16_t) Constant 117 274 229: 118 ConstantComposite 228 275 233: 135(int8_t) Constant 118 276 234: 136 ConstantComposite 233 277 238: 6(float) Constant 1123155968 278 239: 11 ConstantComposite 238 279 243:28(float16_t) Constant 22432 280 244: 29 ConstantComposite 243 281 248: 7(int) Constant 123 282 249: 46 ConstantComposite 248 283 251: 63(int16_t) Constant 124 284 252: 64 ConstantComposite 251 285 256: 81(int8_t) Constant 125 286 257: 82 ConstantComposite 256 287 261: 99(int) Constant 126 288 262: 100 ConstantComposite 261 289 266:117(int16_t) Constant 127 290 267: 118 ConstantComposite 266 291 272: 135(int8_t) Constant 4294967168 292 273: 136 ConstantComposite 272 293 278: 6(float) Constant 1124270080 294 279: 11 ConstantComposite 278 295 283:28(float16_t) Constant 22560 296 284: 29 ConstantComposite 283 297 288: 7(int) Constant 133 298 289: 46 ConstantComposite 288 299 293: 63(int16_t) Constant 134 300 294: 64 ConstantComposite 293 301 296: 81(int8_t) Constant 135 302 297: 82 ConstantComposite 296 303 301: 99(int) Constant 136 304 302: 100 ConstantComposite 301 305 307:117(int16_t) Constant 137 306 308: 118 ConstantComposite 307 307 312: 135(int8_t) Constant 4294967178 308 313: 136 ConstantComposite 312 309 318: 6(float) Constant 1124925440 310 319: 11 ConstantComposite 318 311 323:28(float16_t) Constant 22640 312 324: 29 ConstantComposite 323 313 328: 7(int) Constant 143 314 329: 46 ConstantComposite 328 315 333: 63(int16_t) Constant 144 316 334: 64 ConstantComposite 333 317 338: 81(int8_t) Constant 145 318 339: 82 ConstantComposite 338 319 341: 99(int) Constant 146 320 342: 100 ConstantComposite 341 321 347:117(int16_t) Constant 147 322 348: 118 ConstantComposite 347 323 353: 135(int8_t) Constant 4294967188 324 354: 136 ConstantComposite 353 325 358: 6(float) Constant 1125580800 326 359: 11 ConstantComposite 358 327 363:28(float16_t) Constant 22720 328 364: 29 ConstantComposite 363 329 368: 7(int) Constant 153 330 369: 46 ConstantComposite 368 331 373: 63(int16_t) Constant 154 332 374: 64 ConstantComposite 373 333 379: 81(int8_t) Constant 155 334 380: 82 ConstantComposite 379 335 385: 99(int) Constant 156 336 386: 100 ConstantComposite 385 337 388:117(int16_t) Constant 157 338 389: 118 ConstantComposite 388 339 393: 135(int8_t) Constant 4294967198 340 394: 136 ConstantComposite 393 341 398: 6(float) Constant 1126236160 342 399: 11 ConstantComposite 398 343 403:28(float16_t) Constant 22800 344 404: 29 ConstantComposite 403 345 408: 7(int) Constant 163 346 409: 46 ConstantComposite 408 347 414: 63(int16_t) Constant 164 348 415: 64 ConstantComposite 414 349 419: 81(int8_t) Constant 165 350 420: 82 ConstantComposite 419 351 425: 99(int) Constant 166 352 426: 100 ConstantComposite 425 353 430:117(int16_t) Constant 167 354 431: 118 ConstantComposite 430 355 433: 135(int8_t) Constant 4294967208 356 434: 136 ConstantComposite 433 357 438: 6(float) Constant 1126891520 358 439: 11 ConstantComposite 438 359 443:28(float16_t) Constant 22880 360 444: 29 ConstantComposite 443 361 448: 7(int) Constant 173 362 449: 46 ConstantComposite 448 363 454: 63(int16_t) Constant 174 364 455: 64 ConstantComposite 454 365 460: 81(int8_t) Constant 175 366 461: 82 ConstantComposite 460 367 465: 99(int) Constant 176 368 466: 100 ConstantComposite 465 369 470:117(int16_t) Constant 177 370 471: 118 ConstantComposite 470 371 475: 135(int8_t) Constant 4294967218 372 476: 136 ConstantComposite 475 373 477: TypeVector 7(int) 3 374 478: 7(int) Constant 64 375 479: 7(int) Constant 1 376 480: 477(ivec3) ConstantComposite 478 479 479 377 4(main): 2 Function None 3 378 5: Label 379 154(v): 153(ptr) Variable Function 380 158(v): 157(ptr) Variable Function 381 164(v): 163(ptr) Variable Function 382 170(v): 169(ptr) Variable Function 383 176(v): 175(ptr) Variable Function 384 182(v): 181(ptr) Variable Function 385 188(v): 187(ptr) Variable Function 386 194(v): 193(ptr) Variable Function 387 199(v): 153(ptr) Variable Function 388 204(v): 157(ptr) Variable Function 389 207(v): 163(ptr) Variable Function 390 212(v): 169(ptr) Variable Function 391 217(v): 175(ptr) Variable Function 392 222(v): 181(ptr) Variable Function 393 227(v): 187(ptr) Variable Function 394 232(v): 193(ptr) Variable Function 395 237(v): 153(ptr) Variable Function 396 242(v): 157(ptr) Variable Function 397 247(v): 163(ptr) Variable Function 398 250(v): 169(ptr) Variable Function 399 255(v): 175(ptr) Variable Function 400 260(v): 181(ptr) Variable Function 401 265(v): 187(ptr) Variable Function 402 271(v): 193(ptr) Variable Function 403 277(v): 153(ptr) Variable Function 404 282(v): 157(ptr) Variable Function 405 287(v): 163(ptr) Variable Function 406 292(v): 169(ptr) Variable Function 407 295(v): 175(ptr) Variable Function 408 300(v): 181(ptr) Variable Function 409 306(v): 187(ptr) Variable Function 410 311(v): 193(ptr) Variable Function 411 317(v): 153(ptr) Variable Function 412 322(v): 157(ptr) Variable Function 413 327(v): 163(ptr) Variable Function 414 332(v): 169(ptr) Variable Function 415 337(v): 175(ptr) Variable Function 416 340(v): 181(ptr) Variable Function 417 346(v): 187(ptr) Variable Function 418 352(v): 193(ptr) Variable Function 419 357(v): 153(ptr) Variable Function 420 362(v): 157(ptr) Variable Function 421 367(v): 163(ptr) Variable Function 422 372(v): 169(ptr) Variable Function 423 378(v): 175(ptr) Variable Function 424 384(v): 181(ptr) Variable Function 425 387(v): 187(ptr) Variable Function 426 392(v): 193(ptr) Variable Function 427 397(v): 153(ptr) Variable Function 428 402(v): 157(ptr) Variable Function 429 407(v): 163(ptr) Variable Function 430 413(v): 169(ptr) Variable Function 431 418(v): 175(ptr) Variable Function 432 424(v): 181(ptr) Variable Function 433 429(v): 187(ptr) Variable Function 434 432(v): 193(ptr) Variable Function 435 437(v): 153(ptr) Variable Function 436 442(v): 157(ptr) Variable Function 437 447(v): 163(ptr) Variable Function 438 453(v): 169(ptr) Variable Function 439 459(v): 175(ptr) Variable Function 440 464(v): 181(ptr) Variable Function 441 469(v): 187(ptr) Variable Function 442 474(v): 193(ptr) Variable Function 443 Store 154(v) 156 444 Store 158(v) 160 445 161: 29 Load 158(v) 446 162: 11 FConvert 161 447 Store 164(v) 166 448 167: 46 Load 164(v) 449 168: 11 ConvertUToF 167 450 Store 170(v) 172 451 173: 64 Load 170(v) 452 174: 11 ConvertUToF 173 453 Store 176(v) 178 454 179: 82 Load 176(v) 455 180: 11 ConvertUToF 179 456 Store 182(v) 184 457 185: 100 Load 182(v) 458 186: 11 ConvertSToF 185 459 Store 188(v) 190 460 191: 118 Load 188(v) 461 192: 11 ConvertSToF 191 462 Store 194(v) 196 463 197: 136 Load 194(v) 464 198: 11 ConvertSToF 197 465 Store 199(v) 201 466 202: 11 Load 199(v) 467 203: 29 FConvert 202 468 Store 204(v) 206 469 Store 207(v) 209 470 210: 46 Load 207(v) 471 211: 29 ConvertUToF 210 472 Store 212(v) 214 473 215: 64 Load 212(v) 474 216: 29 ConvertUToF 215 475 Store 217(v) 219 476 220: 82 Load 217(v) 477 221: 29 ConvertUToF 220 478 Store 222(v) 224 479 225: 100 Load 222(v) 480 226: 29 ConvertSToF 225 481 Store 227(v) 229 482 230: 118 Load 227(v) 483 231: 29 ConvertSToF 230 484 Store 232(v) 234 485 235: 136 Load 232(v) 486 236: 29 ConvertSToF 235 487 Store 237(v) 239 488 240: 11 Load 237(v) 489 241: 46 ConvertFToU 240 490 Store 242(v) 244 491 245: 29 Load 242(v) 492 246: 46 ConvertFToU 245 493 Store 247(v) 249 494 Store 250(v) 252 495 253: 64 Load 250(v) 496 254: 46 UConvert 253 497 Store 255(v) 257 498 258: 82 Load 255(v) 499 259: 46 UConvert 258 500 Store 260(v) 262 501 263: 100 Load 260(v) 502 264: 46 Bitcast 263 503 Store 265(v) 267 504 268: 118 Load 265(v) 505 269: 100 SConvert 268 506 270: 46 Bitcast 269 507 Store 271(v) 273 508 274: 136 Load 271(v) 509 275: 100 SConvert 274 510 276: 46 Bitcast 275 511 Store 277(v) 279 512 280: 11 Load 277(v) 513 281: 64 ConvertFToU 280 514 Store 282(v) 284 515 285: 29 Load 282(v) 516 286: 64 ConvertFToU 285 517 Store 287(v) 289 518 290: 46 Load 287(v) 519 291: 64 UConvert 290 520 Store 292(v) 294 521 Store 295(v) 297 522 298: 82 Load 295(v) 523 299: 64 UConvert 298 524 Store 300(v) 302 525 303: 100 Load 300(v) 526 304: 118 SConvert 303 527 305: 64 Bitcast 304 528 Store 306(v) 308 529 309: 118 Load 306(v) 530 310: 64 Bitcast 309 531 Store 311(v) 313 532 314: 136 Load 311(v) 533 315: 118 SConvert 314 534 316: 64 Bitcast 315 535 Store 317(v) 319 536 320: 11 Load 317(v) 537 321: 82 ConvertFToU 320 538 Store 322(v) 324 539 325: 29 Load 322(v) 540 326: 82 ConvertFToU 325 541 Store 327(v) 329 542 330: 46 Load 327(v) 543 331: 82 UConvert 330 544 Store 332(v) 334 545 335: 64 Load 332(v) 546 336: 82 UConvert 335 547 Store 337(v) 339 548 Store 340(v) 342 549 343: 100 Load 340(v) 550 344: 136 SConvert 343 551 345: 82 Bitcast 344 552 Store 346(v) 348 553 349: 118 Load 346(v) 554 350: 136 SConvert 349 555 351: 82 Bitcast 350 556 Store 352(v) 354 557 355: 136 Load 352(v) 558 356: 82 Bitcast 355 559 Store 357(v) 359 560 360: 11 Load 357(v) 561 361: 100 ConvertFToS 360 562 Store 362(v) 364 563 365: 29 Load 362(v) 564 366: 100 ConvertFToS 365 565 Store 367(v) 369 566 370: 46 Load 367(v) 567 371: 100 Bitcast 370 568 Store 372(v) 374 569 375: 64 Load 372(v) 570 376: 46 UConvert 375 571 377: 100 Bitcast 376 572 Store 378(v) 380 573 381: 82 Load 378(v) 574 382: 46 UConvert 381 575 383: 100 Bitcast 382 576 Store 384(v) 386 577 Store 387(v) 389 578 390: 118 Load 387(v) 579 391: 100 SConvert 390 580 Store 392(v) 394 581 395: 136 Load 392(v) 582 396: 100 SConvert 395 583 Store 397(v) 399 584 400: 11 Load 397(v) 585 401: 118 ConvertFToS 400 586 Store 402(v) 404 587 405: 29 Load 402(v) 588 406: 118 ConvertFToS 405 589 Store 407(v) 409 590 410: 46 Load 407(v) 591 411: 64 UConvert 410 592 412: 118 Bitcast 411 593 Store 413(v) 415 594 416: 64 Load 413(v) 595 417: 118 Bitcast 416 596 Store 418(v) 420 597 421: 82 Load 418(v) 598 422: 64 UConvert 421 599 423: 118 Bitcast 422 600 Store 424(v) 426 601 427: 100 Load 424(v) 602 428: 118 SConvert 427 603 Store 429(v) 431 604 Store 432(v) 434 605 435: 136 Load 432(v) 606 436: 118 SConvert 435 607 Store 437(v) 439 608 440: 11 Load 437(v) 609 441: 136 ConvertFToS 440 610 Store 442(v) 444 611 445: 29 Load 442(v) 612 446: 136 ConvertFToS 445 613 Store 447(v) 449 614 450: 46 Load 447(v) 615 451: 82 UConvert 450 616 452: 136 Bitcast 451 617 Store 453(v) 455 618 456: 64 Load 453(v) 619 457: 82 UConvert 456 620 458: 136 Bitcast 457 621 Store 459(v) 461 622 462: 82 Load 459(v) 623 463: 136 Bitcast 462 624 Store 464(v) 466 625 467: 100 Load 464(v) 626 468: 136 SConvert 467 627 Store 469(v) 471 628 472: 118 Load 469(v) 629 473: 136 SConvert 472 630 Store 474(v) 476 631 Return 632 FunctionEnd 633