Always enable the generation of OpDebugBasicType for bool type

This commit is contained in:
Chao Chen 2023-10-25 11:50:44 -07:00 committed by arcady-lunarg
parent 0fedf7d95a
commit 9a35abff55
14 changed files with 5792 additions and 5865 deletions

View file

@ -3,14 +3,14 @@ WARNING: 0:158: '' : attribute does not apply to entry point
// Module Version 10000
// Generated by (magic number): 8000b
// Id's are bound by 692
// Id's are bound by 685
Capability Tessellation
Extension "SPV_KHR_non_semantic_info"
2: ExtInstImport "NonSemantic.Shader.DebugInfo.100"
3: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint TessellationControl 6 "main" 584 591 598 632 641 648 655 670 685
EntryPoint TessellationControl 6 "main" 577 584 591 625 634 641 648 663 678
ExecutionMode 6 OutputVertices 4
ExecutionMode 6 Quads
ExecutionMode 6 SpacingEqual
@ -68,7 +68,7 @@ WARNING: 0:158: '' : attribute does not apply to entry point
342: String "type.sampled.image"
343: String "@type.sampled.image"
361: String "i"
414: String "output"
410: String "output"
Name 6 "main"
Name 26 "screenSpaceTessFactor(vf4;vf4;"
Name 24 "p0"
@ -113,34 +113,34 @@ WARNING: 0:158: '' : attribute does not apply to entry point
Name 327 "textureHeight"
Name 336 "samplerHeight"
Name 359 "i"
Name 412 "output"
Name 422 "param"
Name 425 "param"
Name 466 "param"
Name 408 "output"
Name 418 "param"
Name 421 "param"
Name 459 "param"
Name 462 "param"
Name 469 "param"
Name 476 "param"
Name 472 "param"
Name 479 "param"
Name 486 "param"
Name 482 "param"
Name 489 "param"
Name 496 "param"
Name 499 "param"
Name 551 "output"
Name 581 "patch"
Name 584 "patch.Pos"
Name 591 "patch.Normal"
Name 598 "patch.UV"
Name 630 "InvocationID"
Name 632 "InvocationID"
Name 634 "flattenTemp"
Name 635 "param"
Name 637 "param"
Name 641 "@entryPointOutput.Pos"
Name 648 "@entryPointOutput.Normal"
Name 655 "@entryPointOutput.UV"
Name 665 "@patchConstantResult"
Name 666 "param"
Name 670 "@patchConstantOutput.TessLevelOuter"
Name 685 "@patchConstantOutput.TessLevelInner"
Name 492 "param"
Name 544 "output"
Name 574 "patch"
Name 577 "patch.Pos"
Name 584 "patch.Normal"
Name 591 "patch.UV"
Name 623 "InvocationID"
Name 625 "InvocationID"
Name 627 "flattenTemp"
Name 628 "param"
Name 630 "param"
Name 634 "@entryPointOutput.Pos"
Name 641 "@entryPointOutput.Normal"
Name 648 "@entryPointOutput.UV"
Name 658 "@patchConstantResult"
Name 659 "param"
Name 663 "@patchConstantOutput.TessLevelOuter"
Name 678 "@patchConstantOutput.TessLevelInner"
Decorate 176 ArrayStride 16
MemberDecorate 178(UBO) 0 RowMajor
MemberDecorate 178(UBO) 0 Offset 0
@ -162,17 +162,17 @@ WARNING: 0:158: '' : attribute does not apply to entry point
Decorate 327(textureHeight) Binding 1
Decorate 336(samplerHeight) DescriptorSet 0
Decorate 336(samplerHeight) Binding 1
Decorate 584(patch.Pos) BuiltIn Position
Decorate 591(patch.Normal) Location 0
Decorate 598(patch.UV) Location 1
Decorate 632(InvocationID) BuiltIn InvocationId
Decorate 641(@entryPointOutput.Pos) BuiltIn Position
Decorate 648(@entryPointOutput.Normal) Location 0
Decorate 655(@entryPointOutput.UV) Location 1
Decorate 670(@patchConstantOutput.TessLevelOuter) Patch
Decorate 670(@patchConstantOutput.TessLevelOuter) BuiltIn TessLevelOuter
Decorate 685(@patchConstantOutput.TessLevelInner) Patch
Decorate 685(@patchConstantOutput.TessLevelInner) BuiltIn TessLevelInner
Decorate 577(patch.Pos) BuiltIn Position
Decorate 584(patch.Normal) Location 0
Decorate 591(patch.UV) Location 1
Decorate 625(InvocationID) BuiltIn InvocationId
Decorate 634(@entryPointOutput.Pos) BuiltIn Position
Decorate 641(@entryPointOutput.Normal) Location 0
Decorate 648(@entryPointOutput.UV) Location 1
Decorate 663(@patchConstantOutput.TessLevelOuter) Patch
Decorate 663(@patchConstantOutput.TessLevelOuter) BuiltIn TessLevelOuter
Decorate 678(@patchConstantOutput.TessLevelInner) Patch
Decorate 678(@patchConstantOutput.TessLevelInner) BuiltIn TessLevelInner
4: TypeVoid
5: TypeFunction 4
8: TypeFloat 32
@ -339,205 +339,198 @@ WARNING: 0:158: '' : attribute does not apply to entry point
357: 11(int) Constant 102
358: TypePointer Function 210(int)
360: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 361 212 30 357 16 59 19
373: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 50 14 44 16
377: 11(int) Constant 103
379: 210(int) Constant 3
381: TypePointer Uniform 18(fvec4)
385: 8(float) Constant 1090519040
387: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 50 14 44 16
391: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 50 14 44 16
392: 49(bool) ConstantFalse
395: 11(int) Constant 105
401: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 50 14 44 16
404: 11(int) Constant 108
410: 11(int) Constant 113
411: TypePointer Function 92(ConstantsHSOutput)
413: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 414 100 30 410 16 108 19
416: 88 ConstantComposite 227 227 227 227
417: 90 ConstantComposite 227 227
418:92(ConstantsHSOutput) ConstantComposite 416 417
420: 11(int) Constant 115
421: 210(int) Constant 2
429: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 50 14 44 16
430: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 50 14 44 16
436: 11(int) Constant 117
439: 11(int) Constant 118
442: 11(int) Constant 119
445: 11(int) Constant 120
448: 11(int) Constant 121
451: 11(int) Constant 122
456: 11(int) Constant 126
459: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 50 14 44 16
465: 11(int) Constant 128
475: 11(int) Constant 129
485: 11(int) Constant 130
495: 11(int) Constant 131
505: 11(int) Constant 132
513: 11(int) Constant 133
523: 11(int) Constant 139
526: 11(int) Constant 140
529: 11(int) Constant 141
532: 11(int) Constant 142
535: 11(int) Constant 143
538: 11(int) Constant 144
542: 11(int) Constant 148
549: 11(int) Constant 159
550: TypePointer Function 116(HSOutput)
552: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 414 123 30 549 16 132 19
554: 18(fvec4) ConstantComposite 227 227 227 227
555: 46(fvec2) ConstantComposite 227 227
556:116(HSOutput) ConstantComposite 554 228 555
558: 11(int) Constant 160
564: 11(int) Constant 161
566: TypePointer Function 69(fvec3)
571: 11(int) Constant 162
577: 11(int) Constant 163
582: TypeArray 18(fvec4) 19
376: 11(int) Constant 103
378: 210(int) Constant 3
380: TypePointer Uniform 18(fvec4)
384: 8(float) Constant 1090519040
389: 49(bool) ConstantFalse
392: 11(int) Constant 105
400: 11(int) Constant 108
406: 11(int) Constant 113
407: TypePointer Function 92(ConstantsHSOutput)
409: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 410 100 30 406 16 108 19
412: 88 ConstantComposite 227 227 227 227
413: 90 ConstantComposite 227 227
414:92(ConstantsHSOutput) ConstantComposite 412 413
416: 11(int) Constant 115
417: 210(int) Constant 2
430: 11(int) Constant 117
433: 11(int) Constant 118
436: 11(int) Constant 119
439: 11(int) Constant 120
442: 11(int) Constant 121
445: 11(int) Constant 122
450: 11(int) Constant 126
458: 11(int) Constant 128
468: 11(int) Constant 129
478: 11(int) Constant 130
488: 11(int) Constant 131
498: 11(int) Constant 132
506: 11(int) Constant 133
516: 11(int) Constant 139
519: 11(int) Constant 140
522: 11(int) Constant 141
525: 11(int) Constant 142
528: 11(int) Constant 143
531: 11(int) Constant 144
535: 11(int) Constant 148
542: 11(int) Constant 159
543: TypePointer Function 116(HSOutput)
545: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 410 123 30 542 16 132 19
547: 18(fvec4) ConstantComposite 227 227 227 227
548: 46(fvec2) ConstantComposite 227 227
549:116(HSOutput) ConstantComposite 547 228 548
551: 11(int) Constant 160
557: 11(int) Constant 161
559: TypePointer Function 69(fvec3)
564: 11(int) Constant 162
570: 11(int) Constant 163
575: TypeArray 18(fvec4) 19
576: TypePointer Input 575
577(patch.Pos): 576(ptr) Variable Input
578: TypePointer Input 18(fvec4)
582: TypeArray 69(fvec3) 19
583: TypePointer Input 582
584(patch.Pos): 583(ptr) Variable Input
585: TypePointer Input 18(fvec4)
589: TypeArray 69(fvec3) 19
584(patch.Normal): 583(ptr) Variable Input
585: TypePointer Input 69(fvec3)
589: TypeArray 46(fvec2) 19
590: TypePointer Input 589
591(patch.Normal): 590(ptr) Variable Input
592: TypePointer Input 69(fvec3)
596: TypeArray 46(fvec2) 19
597: TypePointer Input 596
598(patch.UV): 597(ptr) Variable Input
599: TypePointer Input 46(fvec2)
631: TypePointer Input 11(int)
632(InvocationID): 631(ptr) Variable Input
591(patch.UV): 590(ptr) Variable Input
592: TypePointer Input 46(fvec2)
624: TypePointer Input 11(int)
625(InvocationID): 624(ptr) Variable Input
633: TypePointer Output 575
634(@entryPointOutput.Pos): 633(ptr) Variable Output
638: TypePointer Output 18(fvec4)
640: TypePointer Output 582
641(@entryPointOutput.Pos): 640(ptr) Variable Output
645: TypePointer Output 18(fvec4)
641(@entryPointOutput.Normal): 640(ptr) Variable Output
645: TypePointer Output 69(fvec3)
647: TypePointer Output 589
648(@entryPointOutput.Normal): 647(ptr) Variable Output
652: TypePointer Output 69(fvec3)
654: TypePointer Output 596
655(@entryPointOutput.UV): 654(ptr) Variable Output
659: TypePointer Output 46(fvec2)
669: TypePointer Output 88
670(@patchConstantOutput.TessLevelOuter): 669(ptr) Variable Output
673: TypePointer Output 8(float)
684: TypePointer Output 90
685(@patchConstantOutput.TessLevelInner): 684(ptr) Variable Output
648(@entryPointOutput.UV): 647(ptr) Variable Output
652: TypePointer Output 46(fvec2)
662: TypePointer Output 88
663(@patchConstantOutput.TessLevelOuter): 662(ptr) Variable Output
666: TypePointer Output 8(float)
677: TypePointer Output 90
678(@patchConstantOutput.TessLevelInner): 677(ptr) Variable Output
Line 1 158 1
6(main): 4 Function None 5
7: Label
581(patch): 87(ptr) Variable Function
630(InvocationID): 115(ptr) Variable Function
634(flattenTemp): 550(ptr) Variable Function
635(param): 87(ptr) Variable Function
637(param): 115(ptr) Variable Function
665(@patchConstantResult): 411(ptr) Variable Function
666(param): 87(ptr) Variable Function
574(patch): 87(ptr) Variable Function
623(InvocationID): 115(ptr) Variable Function
627(flattenTemp): 543(ptr) Variable Function
628(param): 87(ptr) Variable Function
630(param): 115(ptr) Variable Function
658(@patchConstantResult): 407(ptr) Variable Function
659(param): 87(ptr) Variable Function
Line 1 158 0
586: 585(ptr) AccessChain 584(patch.Pos) 213
587: 18(fvec4) Load 586
588: 21(ptr) AccessChain 581(patch) 213 213
579: 578(ptr) AccessChain 577(patch.Pos) 213
580: 18(fvec4) Load 579
581: 21(ptr) AccessChain 574(patch) 213 213
Store 581 580
586: 585(ptr) AccessChain 584(patch.Normal) 213
587: 69(fvec3) Load 586
588: 559(ptr) AccessChain 574(patch) 213 214
Store 588 587
593: 592(ptr) AccessChain 591(patch.Normal) 213
594: 69(fvec3) Load 593
595: 566(ptr) AccessChain 581(patch) 213 214
593: 592(ptr) AccessChain 591(patch.UV) 213
594: 46(fvec2) Load 593
595: 48(ptr) AccessChain 574(patch) 213 417
Store 595 594
600: 599(ptr) AccessChain 598(patch.UV) 213
601: 46(fvec2) Load 600
602: 48(ptr) AccessChain 581(patch) 213 421
Store 602 601
603: 585(ptr) AccessChain 584(patch.Pos) 214
604: 18(fvec4) Load 603
605: 21(ptr) AccessChain 581(patch) 214 213
Store 605 604
606: 592(ptr) AccessChain 591(patch.Normal) 214
607: 69(fvec3) Load 606
608: 566(ptr) AccessChain 581(patch) 214 214
Store 608 607
609: 599(ptr) AccessChain 598(patch.UV) 214
610: 46(fvec2) Load 609
611: 48(ptr) AccessChain 581(patch) 214 421
Store 611 610
612: 585(ptr) AccessChain 584(patch.Pos) 421
613: 18(fvec4) Load 612
614: 21(ptr) AccessChain 581(patch) 421 213
Store 614 613
615: 592(ptr) AccessChain 591(patch.Normal) 421
616: 69(fvec3) Load 615
617: 566(ptr) AccessChain 581(patch) 421 214
Store 617 616
618: 599(ptr) AccessChain 598(patch.UV) 421
619: 46(fvec2) Load 618
620: 48(ptr) AccessChain 581(patch) 421 421
Store 620 619
621: 585(ptr) AccessChain 584(patch.Pos) 379
622: 18(fvec4) Load 621
623: 21(ptr) AccessChain 581(patch) 379 213
Store 623 622
624: 592(ptr) AccessChain 591(patch.Normal) 379
625: 69(fvec3) Load 624
626: 566(ptr) AccessChain 581(patch) 379 214
Store 626 625
627: 599(ptr) AccessChain 598(patch.UV) 379
628: 46(fvec2) Load 627
629: 48(ptr) AccessChain 581(patch) 379 421
Store 629 628
633: 11(int) Load 632(InvocationID)
Store 630(InvocationID) 633
636: 85 Load 581(patch)
Store 635(param) 636
638: 11(int) Load 630(InvocationID)
Store 637(param) 638
639:116(HSOutput) FunctionCall 129(@main(struct-VSOutput-vf4-vf3-vf21[4];u1;) 635(param) 637(param)
Store 634(flattenTemp) 639
642: 11(int) Load 632(InvocationID)
643: 21(ptr) AccessChain 634(flattenTemp) 213
644: 18(fvec4) Load 643
646: 645(ptr) AccessChain 641(@entryPointOutput.Pos) 642
596: 578(ptr) AccessChain 577(patch.Pos) 214
597: 18(fvec4) Load 596
598: 21(ptr) AccessChain 574(patch) 214 213
Store 598 597
599: 585(ptr) AccessChain 584(patch.Normal) 214
600: 69(fvec3) Load 599
601: 559(ptr) AccessChain 574(patch) 214 214
Store 601 600
602: 592(ptr) AccessChain 591(patch.UV) 214
603: 46(fvec2) Load 602
604: 48(ptr) AccessChain 574(patch) 214 417
Store 604 603
605: 578(ptr) AccessChain 577(patch.Pos) 417
606: 18(fvec4) Load 605
607: 21(ptr) AccessChain 574(patch) 417 213
Store 607 606
608: 585(ptr) AccessChain 584(patch.Normal) 417
609: 69(fvec3) Load 608
610: 559(ptr) AccessChain 574(patch) 417 214
Store 610 609
611: 592(ptr) AccessChain 591(patch.UV) 417
612: 46(fvec2) Load 611
613: 48(ptr) AccessChain 574(patch) 417 417
Store 613 612
614: 578(ptr) AccessChain 577(patch.Pos) 378
615: 18(fvec4) Load 614
616: 21(ptr) AccessChain 574(patch) 378 213
Store 616 615
617: 585(ptr) AccessChain 584(patch.Normal) 378
618: 69(fvec3) Load 617
619: 559(ptr) AccessChain 574(patch) 378 214
Store 619 618
620: 592(ptr) AccessChain 591(patch.UV) 378
621: 46(fvec2) Load 620
622: 48(ptr) AccessChain 574(patch) 378 417
Store 622 621
626: 11(int) Load 625(InvocationID)
Store 623(InvocationID) 626
629: 85 Load 574(patch)
Store 628(param) 629
631: 11(int) Load 623(InvocationID)
Store 630(param) 631
632:116(HSOutput) FunctionCall 129(@main(struct-VSOutput-vf4-vf3-vf21[4];u1;) 628(param) 630(param)
Store 627(flattenTemp) 632
635: 11(int) Load 625(InvocationID)
636: 21(ptr) AccessChain 627(flattenTemp) 213
637: 18(fvec4) Load 636
639: 638(ptr) AccessChain 634(@entryPointOutput.Pos) 635
Store 639 637
642: 11(int) Load 625(InvocationID)
643: 559(ptr) AccessChain 627(flattenTemp) 214
644: 69(fvec3) Load 643
646: 645(ptr) AccessChain 641(@entryPointOutput.Normal) 642
Store 646 644
649: 11(int) Load 632(InvocationID)
650: 566(ptr) AccessChain 634(flattenTemp) 214
651: 69(fvec3) Load 650
653: 652(ptr) AccessChain 648(@entryPointOutput.Normal) 649
649: 11(int) Load 625(InvocationID)
650: 48(ptr) AccessChain 627(flattenTemp) 417
651: 46(fvec2) Load 650
653: 652(ptr) AccessChain 648(@entryPointOutput.UV) 649
Store 653 651
656: 11(int) Load 632(InvocationID)
657: 48(ptr) AccessChain 634(flattenTemp) 421
658: 46(fvec2) Load 657
660: 659(ptr) AccessChain 655(@entryPointOutput.UV) 656
Store 660 658
ControlBarrier 44 19 16
661: 11(int) Load 632(InvocationID)
662: 49(bool) IEqual 661 213
SelectionMerge 664 None
BranchConditional 662 663 664
663: Label
667: 85 Load 581(patch)
Store 666(param) 667
668:92(ConstantsHSOutput) FunctionCall 105(ConstantsHS(struct-VSOutput-vf4-vf3-vf21[4];) 666(param)
Store 665(@patchConstantResult) 668
671: 156(ptr) AccessChain 665(@patchConstantResult) 213 213
654: 11(int) Load 625(InvocationID)
655: 49(bool) IEqual 654 213
SelectionMerge 657 None
BranchConditional 655 656 657
656: Label
660: 85 Load 574(patch)
Store 659(param) 660
661:92(ConstantsHSOutput) FunctionCall 105(ConstantsHS(struct-VSOutput-vf4-vf3-vf21[4];) 659(param)
Store 658(@patchConstantResult) 661
664: 156(ptr) AccessChain 658(@patchConstantResult) 213 213
665: 8(float) Load 664
667: 666(ptr) AccessChain 663(@patchConstantOutput.TessLevelOuter) 213
Store 667 665
668: 156(ptr) AccessChain 658(@patchConstantResult) 213 214
669: 8(float) Load 668
670: 666(ptr) AccessChain 663(@patchConstantOutput.TessLevelOuter) 214
Store 670 669
671: 156(ptr) AccessChain 658(@patchConstantResult) 213 417
672: 8(float) Load 671
674: 673(ptr) AccessChain 670(@patchConstantOutput.TessLevelOuter) 213
Store 674 672
675: 156(ptr) AccessChain 665(@patchConstantResult) 213 214
676: 8(float) Load 675
677: 673(ptr) AccessChain 670(@patchConstantOutput.TessLevelOuter) 214
Store 677 676
678: 156(ptr) AccessChain 665(@patchConstantResult) 213 421
679: 8(float) Load 678
680: 673(ptr) AccessChain 670(@patchConstantOutput.TessLevelOuter) 421
Store 680 679
681: 156(ptr) AccessChain 665(@patchConstantResult) 213 379
682: 8(float) Load 681
683: 673(ptr) AccessChain 670(@patchConstantOutput.TessLevelOuter) 379
Store 683 682
686: 156(ptr) AccessChain 665(@patchConstantResult) 214 213
687: 8(float) Load 686
688: 673(ptr) AccessChain 685(@patchConstantOutput.TessLevelInner) 213
Store 688 687
689: 156(ptr) AccessChain 665(@patchConstantResult) 214 214
690: 8(float) Load 689
691: 673(ptr) AccessChain 685(@patchConstantOutput.TessLevelInner) 214
Store 691 690
Branch 664
664: Label
673: 666(ptr) AccessChain 663(@patchConstantOutput.TessLevelOuter) 417
Store 673 672
674: 156(ptr) AccessChain 658(@patchConstantResult) 213 378
675: 8(float) Load 674
676: 666(ptr) AccessChain 663(@patchConstantOutput.TessLevelOuter) 378
Store 676 675
679: 156(ptr) AccessChain 658(@patchConstantResult) 214 213
680: 8(float) Load 679
681: 666(ptr) AccessChain 678(@patchConstantOutput.TessLevelInner) 213
Store 681 680
682: 156(ptr) AccessChain 658(@patchConstantResult) 214 214
683: 8(float) Load 682
684: 666(ptr) AccessChain 678(@patchConstantOutput.TessLevelInner) 214
Store 684 683
Branch 657
657: Label
Return
FunctionEnd
Line 1 65 1
@ -699,223 +692,223 @@ WARNING: 0:158: '' : attribute does not apply to entry point
370: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 59
371: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 357 357 16 16
372: 210(int) Load 359(i)
374: 49(bool) SLessThan 372 269
BranchConditional 374 364 365
373: 49(bool) SLessThan 372 269
BranchConditional 373 364 365
364: Label
375: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 59
376: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 377 377 16 16
378: 18(fvec4) Load 314(pos)
380: 210(int) Load 359(i)
382: 381(ptr) AccessChain 207 213 379 380
383: 18(fvec4) Load 382
384: 8(float) Dot 378 383
386: 8(float) FAdd 384 385
388: 49(bool) FOrdLessThan 386 227
SelectionMerge 390 None
BranchConditional 388 389 390
389: Label
393: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 59
394: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 395 395 16 16
ReturnValue 392
390: Label
374: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 59
375: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 376 376 16 16
377: 18(fvec4) Load 314(pos)
379: 210(int) Load 359(i)
381: 380(ptr) AccessChain 207 213 378 379
382: 18(fvec4) Load 381
383: 8(float) Dot 377 382
385: 8(float) FAdd 383 384
386: 49(bool) FOrdLessThan 385 227
SelectionMerge 388 None
BranchConditional 386 387 388
387: Label
390: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 59
391: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 392 392 16 16
ReturnValue 389
388: Label
Branch 366
366: Label
397: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 59
398: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 357 357 16 16
399: 210(int) Load 359(i)
400: 210(int) IAdd 399 214
Store 359(i) 400
394: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 59
395: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 357 357 16 16
396: 210(int) Load 359(i)
397: 210(int) IAdd 396 214
Store 359(i) 397
Branch 363
365: Label
402: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 59
403: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 404 404 16 16
398: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 59
399: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 400 400 16 16
ReturnValue 175
FunctionEnd
Line 1 112 1
105(ConstantsHS(struct-VSOutput-vf4-vf3-vf21[4];):92(ConstantsHSOutput) Function None 102
104(patch): 87(ptr) FunctionParameter
106: Label
412(output): 411(ptr) Variable Function
422(param): 21(ptr) Variable Function
425(param): 48(ptr) Variable Function
466(param): 21(ptr) Variable Function
408(output): 407(ptr) Variable Function
418(param): 21(ptr) Variable Function
421(param): 48(ptr) Variable Function
459(param): 21(ptr) Variable Function
462(param): 21(ptr) Variable Function
469(param): 21(ptr) Variable Function
476(param): 21(ptr) Variable Function
472(param): 21(ptr) Variable Function
479(param): 21(ptr) Variable Function
486(param): 21(ptr) Variable Function
482(param): 21(ptr) Variable Function
489(param): 21(ptr) Variable Function
496(param): 21(ptr) Variable Function
499(param): 21(ptr) Variable Function
492(param): 21(ptr) Variable Function
110: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 108
111: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 109 109 16 16
114: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 112 104(patch) 41
407: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 108 105(ConstantsHS(struct-VSOutput-vf4-vf3-vf21[4];)
408: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 108
409: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 410 410 16 16
415: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 413 412(output) 41
Store 412(output) 418
419: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 420 420 16 16
423: 21(ptr) AccessChain 104(patch) 213 213
424: 18(fvec4) Load 423
Store 422(param) 424
426: 48(ptr) AccessChain 104(patch) 213 421
427: 46(fvec2) Load 426
Store 425(param) 427
428: 49(bool) FunctionCall 56(frustumCheck(vf4;vf2;) 422(param) 425(param)
431: 49(bool) LogicalNot 428
SelectionMerge 433 None
BranchConditional 431 432 453
432: Label
434: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 108
403: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 108 105(ConstantsHS(struct-VSOutput-vf4-vf3-vf21[4];)
404: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 108
405: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 406 406 16 16
411: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 409 408(output) 41
Store 408(output) 414
415: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 416 416 16 16
419: 21(ptr) AccessChain 104(patch) 213 213
420: 18(fvec4) Load 419
Store 418(param) 420
422: 48(ptr) AccessChain 104(patch) 213 417
423: 46(fvec2) Load 422
Store 421(param) 423
424: 49(bool) FunctionCall 56(frustumCheck(vf4;vf2;) 418(param) 421(param)
425: 49(bool) LogicalNot 424
SelectionMerge 427 None
BranchConditional 425 426 447
426: Label
428: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 108
429: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 430 430 16 16
431: 156(ptr) AccessChain 408(output) 214 213
Store 431 227
432: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 433 433 16 16
434: 156(ptr) AccessChain 408(output) 214 214
Store 434 227
435: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 436 436 16 16
437: 156(ptr) AccessChain 412(output) 214 213
437: 156(ptr) AccessChain 408(output) 213 213
Store 437 227
438: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 439 439 16 16
440: 156(ptr) AccessChain 412(output) 214 214
440: 156(ptr) AccessChain 408(output) 213 214
Store 440 227
441: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 442 442 16 16
443: 156(ptr) AccessChain 412(output) 213 213
443: 156(ptr) AccessChain 408(output) 213 417
Store 443 227
444: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 445 445 16 16
446: 156(ptr) AccessChain 412(output) 213 214
446: 156(ptr) AccessChain 408(output) 213 378
Store 446 227
447: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 448 448 16 16
449: 156(ptr) AccessChain 412(output) 213 421
Store 449 227
450: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 451 451 16 16
452: 156(ptr) AccessChain 412(output) 213 379
Store 452 227
Branch 433
453: Label
454: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 108
455: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 456 456 16 16
457: 297(ptr) AccessChain 207 213 301
458: 8(float) Load 457
460: 49(bool) FOrdGreaterThan 458 227
SelectionMerge 462 None
BranchConditional 460 461 520
461: Label
463: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 108
464: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 465 465 16 16
467: 21(ptr) AccessChain 104(patch) 379 213
468: 18(fvec4) Load 467
Store 466(param) 468
Branch 427
447: Label
448: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 108
449: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 450 450 16 16
451: 297(ptr) AccessChain 207 213 301
452: 8(float) Load 451
453: 49(bool) FOrdGreaterThan 452 227
SelectionMerge 455 None
BranchConditional 453 454 513
454: Label
456: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 108
457: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 458 458 16 16
460: 21(ptr) AccessChain 104(patch) 378 213
461: 18(fvec4) Load 460
Store 459(param) 461
463: 21(ptr) AccessChain 104(patch) 213 213
464: 18(fvec4) Load 463
Store 462(param) 464
465: 8(float) FunctionCall 26(screenSpaceTessFactor(vf4;vf4;) 459(param) 462(param)
466: 156(ptr) AccessChain 408(output) 213 213
Store 466 465
467: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 468 468 16 16
470: 21(ptr) AccessChain 104(patch) 213 213
471: 18(fvec4) Load 470
Store 469(param) 471
472: 8(float) FunctionCall 26(screenSpaceTessFactor(vf4;vf4;) 466(param) 469(param)
473: 156(ptr) AccessChain 412(output) 213 213
Store 473 472
474: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 475 475 16 16
477: 21(ptr) AccessChain 104(patch) 213 213
478: 18(fvec4) Load 477
Store 476(param) 478
473: 21(ptr) AccessChain 104(patch) 214 213
474: 18(fvec4) Load 473
Store 472(param) 474
475: 8(float) FunctionCall 26(screenSpaceTessFactor(vf4;vf4;) 469(param) 472(param)
476: 156(ptr) AccessChain 408(output) 213 214
Store 476 475
477: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 478 478 16 16
480: 21(ptr) AccessChain 104(patch) 214 213
481: 18(fvec4) Load 480
Store 479(param) 481
482: 8(float) FunctionCall 26(screenSpaceTessFactor(vf4;vf4;) 476(param) 479(param)
483: 156(ptr) AccessChain 412(output) 213 214
Store 483 482
484: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 485 485 16 16
487: 21(ptr) AccessChain 104(patch) 214 213
488: 18(fvec4) Load 487
Store 486(param) 488
490: 21(ptr) AccessChain 104(patch) 421 213
483: 21(ptr) AccessChain 104(patch) 417 213
484: 18(fvec4) Load 483
Store 482(param) 484
485: 8(float) FunctionCall 26(screenSpaceTessFactor(vf4;vf4;) 479(param) 482(param)
486: 156(ptr) AccessChain 408(output) 213 417
Store 486 485
487: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 488 488 16 16
490: 21(ptr) AccessChain 104(patch) 417 213
491: 18(fvec4) Load 490
Store 489(param) 491
492: 8(float) FunctionCall 26(screenSpaceTessFactor(vf4;vf4;) 486(param) 489(param)
493: 156(ptr) AccessChain 412(output) 213 421
Store 493 492
494: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 495 495 16 16
497: 21(ptr) AccessChain 104(patch) 421 213
498: 18(fvec4) Load 497
Store 496(param) 498
500: 21(ptr) AccessChain 104(patch) 379 213
501: 18(fvec4) Load 500
Store 499(param) 501
502: 8(float) FunctionCall 26(screenSpaceTessFactor(vf4;vf4;) 496(param) 499(param)
503: 156(ptr) AccessChain 412(output) 213 379
Store 503 502
504: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 505 505 16 16
506: 156(ptr) AccessChain 412(output) 213 213
507: 8(float) Load 506
508: 156(ptr) AccessChain 412(output) 213 379
509: 8(float) Load 508
510: 8(float) ExtInst 3(GLSL.std.450) 46(FMix) 507 509 149
511: 156(ptr) AccessChain 412(output) 214 213
Store 511 510
512: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 513 513 16 16
514: 156(ptr) AccessChain 412(output) 213 421
515: 8(float) Load 514
516: 156(ptr) AccessChain 412(output) 213 214
517: 8(float) Load 516
518: 8(float) ExtInst 3(GLSL.std.450) 46(FMix) 515 517 149
519: 156(ptr) AccessChain 412(output) 214 214
Store 519 518
Branch 462
520: Label
521: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 108
522: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 523 523 16 16
524: 156(ptr) AccessChain 412(output) 214 213
Store 524 305
525: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 526 526 16 16
527: 156(ptr) AccessChain 412(output) 214 214
Store 527 305
528: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 529 529 16 16
530: 156(ptr) AccessChain 412(output) 213 213
Store 530 305
531: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 532 532 16 16
533: 156(ptr) AccessChain 412(output) 213 214
Store 533 305
534: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 535 535 16 16
536: 156(ptr) AccessChain 412(output) 213 421
Store 536 305
537: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 538 538 16 16
539: 156(ptr) AccessChain 412(output) 213 379
Store 539 305
Branch 462
462: Label
Branch 433
433: Label
540: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 108
541: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 542 542 16 16
543:92(ConstantsHSOutput) Load 412(output)
ReturnValue 543
493: 21(ptr) AccessChain 104(patch) 378 213
494: 18(fvec4) Load 493
Store 492(param) 494
495: 8(float) FunctionCall 26(screenSpaceTessFactor(vf4;vf4;) 489(param) 492(param)
496: 156(ptr) AccessChain 408(output) 213 378
Store 496 495
497: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 498 498 16 16
499: 156(ptr) AccessChain 408(output) 213 213
500: 8(float) Load 499
501: 156(ptr) AccessChain 408(output) 213 378
502: 8(float) Load 501
503: 8(float) ExtInst 3(GLSL.std.450) 46(FMix) 500 502 149
504: 156(ptr) AccessChain 408(output) 214 213
Store 504 503
505: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 506 506 16 16
507: 156(ptr) AccessChain 408(output) 213 417
508: 8(float) Load 507
509: 156(ptr) AccessChain 408(output) 213 214
510: 8(float) Load 509
511: 8(float) ExtInst 3(GLSL.std.450) 46(FMix) 508 510 149
512: 156(ptr) AccessChain 408(output) 214 214
Store 512 511
Branch 455
513: Label
514: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 108
515: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 516 516 16 16
517: 156(ptr) AccessChain 408(output) 214 213
Store 517 305
518: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 519 519 16 16
520: 156(ptr) AccessChain 408(output) 214 214
Store 520 305
521: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 522 522 16 16
523: 156(ptr) AccessChain 408(output) 213 213
Store 523 305
524: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 525 525 16 16
526: 156(ptr) AccessChain 408(output) 213 214
Store 526 305
527: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 528 528 16 16
529: 156(ptr) AccessChain 408(output) 213 417
Store 529 305
530: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 531 531 16 16
532: 156(ptr) AccessChain 408(output) 213 378
Store 532 305
Branch 455
455: Label
Branch 427
427: Label
533: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 108
534: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 535 535 16 16
536:92(ConstantsHSOutput) Load 408(output)
ReturnValue 536
FunctionEnd
Line 1 158 1
129(@main(struct-VSOutput-vf4-vf3-vf21[4];u1;):116(HSOutput) Function None 125
127(patch): 87(ptr) FunctionParameter
128(InvocationID): 115(ptr) FunctionParameter
130: Label
551(output): 550(ptr) Variable Function
544(output): 543(ptr) Variable Function
134: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 132
135: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 133 133 16 16
137: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 136 127(patch) 41
140: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 138 128(InvocationID) 41
546: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 132 129(@main(struct-VSOutput-vf4-vf3-vf21[4];u1;)
547: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 132
548: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 549 549 16 16
553: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 552 551(output) 41
Store 551(output) 556
557: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 558 558 16 16
559: 11(int) Load 128(InvocationID)
560: 21(ptr) AccessChain 127(patch) 559 213
561: 18(fvec4) Load 560
562: 21(ptr) AccessChain 551(output) 213
539: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 132 129(@main(struct-VSOutput-vf4-vf3-vf21[4];u1;)
540: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 132
541: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 542 542 16 16
546: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 545 544(output) 41
Store 544(output) 549
550: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 551 551 16 16
552: 11(int) Load 128(InvocationID)
553: 21(ptr) AccessChain 127(patch) 552 213
554: 18(fvec4) Load 553
555: 21(ptr) AccessChain 544(output) 213
Store 555 554
556: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 557 557 16 16
558: 11(int) Load 128(InvocationID)
560: 559(ptr) AccessChain 127(patch) 558 214
561: 69(fvec3) Load 560
562: 559(ptr) AccessChain 544(output) 214
Store 562 561
563: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 564 564 16 16
565: 11(int) Load 128(InvocationID)
567: 566(ptr) AccessChain 127(patch) 565 214
568: 69(fvec3) Load 567
569: 566(ptr) AccessChain 551(output) 214
Store 569 568
570: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 571 571 16 16
572: 11(int) Load 128(InvocationID)
573: 48(ptr) AccessChain 127(patch) 572 421
574: 46(fvec2) Load 573
575: 48(ptr) AccessChain 551(output) 421
Store 575 574
576: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 577 577 16 16
578:116(HSOutput) Load 551(output)
ReturnValue 578
566: 48(ptr) AccessChain 127(patch) 565 417
567: 46(fvec2) Load 566
568: 48(ptr) AccessChain 544(output) 417
Store 568 567
569: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 570 570 16 16
571:116(HSOutput) Load 544(output)
ReturnValue 571
FunctionEnd