1iomap.crossStage.2.vert
2Shader version: 460
30:? Sequence
40:32  Function Definition: main( ( global void)
50:32    Function Parameters: 
60:34    Sequence
70:34      move second child to first child ( temp 4-component vector of float)
80:34        'vgo1' ( smooth out 4-component vector of float)
90:34        Constant:
100:34          0.000000
110:34          0.000000
120:34          0.000000
130:34          0.000000
140:35      move second child to first child ( temp 2-component vector of float)
150:35        'vgo2' ( smooth out 2-component vector of float)
160:35        Constant:
170:35          0.000000
180:35          0.000000
190:36      move second child to first child ( temp 4-component vector of float)
200:36        o3: direct index for structure ( out 4-component vector of float)
210:36          'anon@0' (layout( location=5) out block{ out 4-component vector of float o3})
220:36          Constant:
230:36            0 (const uint)
240:36        Constant:
250:36          0.000000
260:36          0.000000
270:36          0.000000
280:36          0.000000
290:?   Linker Objects
300:?     'vgo1' ( smooth out 4-component vector of float)
310:?     'vgo2' ( smooth out 2-component vector of float)
320:?     'anon@0' (layout( location=5) out block{ out 4-component vector of float o3})
330:?     'u1' ( uniform 2-component vector of float)
340:?     'u2' ( uniform 3-component vector of float)
350:?       0.000000
360:?       0.000000
370:?       0.000000
380:?     'u3' ( uniform 4-component vector of float)
390:?       0.000000
400:?       0.000000
410:?       0.000000
420:?       0.000000
430:?     'um2' ( uniform 2X2 matrix of float)
440:?       4.000000
450:?       0.000000
460:?       0.000000
470:?       4.000000
480:?     'glass' (layout( location=0 binding=0) uniform sampler2D)
490:?     'anon@1' (layout( column_major std140) uniform block{layout( column_major std140) uniform 4-component vector of float a, layout( column_major std140) uniform 4-component vector of float b})
500:?     'anon@2' (layout( column_major std430) buffer block{layout( column_major std430) buffer 2-component vector of float vb1})
510:?     'blockName1' (layout( column_major std140) uniform 2-element array of block{layout( column_major std140) uniform 4-component vector of float a, layout( column_major std140) uniform 2-component vector of float b})
520:?     'gl_VertexID' ( gl_VertexId int VertexId)
530:?     'gl_InstanceID' ( gl_InstanceId int InstanceId)
54
55iomap.crossStage.2.geom
56Shader version: 460
57invocations = -1
58max_vertices = 3
59input primitive = points
60output primitive = triangle_strip
610:? Sequence
620:29  Function Definition: main( ( global void)
630:29    Function Parameters: 
640:31    Sequence
650:31      Sequence
660:31        Sequence
670:31          move second child to first child ( temp int)
680:31            'i' ( temp int)
690:31            Constant:
700:31              0 (const int)
710:31        Loop with condition tested first
720:31          Loop Condition
730:31          Compare Less Than ( temp bool)
740:31            'i' ( temp int)
750:31            Constant:
760:31              3 (const int)
770:31          Loop Body
780:32          Sequence
790:32            move second child to first child ( temp 4-component vector of float)
800:32              'gfo1' (layout( stream=0) out 4-component vector of float)
810:32              Constant:
820:32                0.000000
830:32                0.000000
840:32                0.000000
850:32                0.000000
860:33            move second child to first child ( temp 2-component vector of float)
870:33              'gfo2' (layout( stream=0) out 2-component vector of float)
880:33              Constant:
890:33                0.000000
900:33                0.000000
910:34            move second child to first child ( temp 4-component vector of float)
920:34              o3: direct index for structure (layout( stream=0) out 4-component vector of float)
930:34                'gf_out' (layout( location=5 stream=0) out block{layout( stream=0) out 4-component vector of float o3})
940:34                Constant:
950:34                  0 (const int)
960:34              o3: direct index for structure ( in 4-component vector of float)
970:34                indirect index (layout( location=5) temp block{ in 4-component vector of float o3})
980:34                  'inBlock' (layout( location=5) in 1-element array of block{ in 4-component vector of float o3})
990:34                  'i' ( temp int)
1000:34                Constant:
1010:34                  0 (const int)
1020:35            EmitVertex ( global void)
1030:31          Loop Terminal Expression
1040:31          Post-Increment ( temp int)
1050:31            'i' ( temp int)
1060:37      EndPrimitive ( global void)
1070:?   Linker Objects
1080:?     'vgo1' ( in 1-element array of 4-component vector of float)
1090:?     'vgo2' ( in 1-element array of 2-component vector of float)
1100:?     'inBlock' (layout( location=5) in 1-element array of block{ in 4-component vector of float o3})
1110:?     'gfo1' (layout( stream=0) out 4-component vector of float)
1120:?     'gfo2' (layout( stream=0) out 2-component vector of float)
1130:?     'gf_out' (layout( location=5 stream=0) out block{layout( stream=0) out 4-component vector of float o3})
1140:?     'u1' ( uniform 2-component vector of float)
1150:?     'u2' ( uniform 3-component vector of float)
1160:?       0.000000
1170:?       0.000000
1180:?       0.000000
1190:?     'u3' ( uniform 4-component vector of float)
1200:?       0.000000
1210:?       0.000000
1220:?       0.000000
1230:?       0.000000
1240:?     'blockName1' (layout( column_major std140) uniform 2-element array of block{layout( column_major std140) uniform 4-component vector of float a, layout( column_major std140) uniform 2-component vector of float b})
125
126iomap.crossStage.2.frag
127Shader version: 460
1280:? Sequence
1290:37  Function Definition: main( ( global void)
1300:37    Function Parameters: 
1310:39    Sequence
1320:39      Sequence
1330:39        move second child to first child ( temp 4-component vector of float)
1340:39          'color' ( temp 4-component vector of float)
1350:39          component-wise multiply ( temp 4-component vector of float)
1360:39            component-wise multiply ( temp 4-component vector of float)
1370:39              component-wise multiply ( temp 4-component vector of float)
1380:39                'gfo1' ( smooth in 4-component vector of float)
1390:39                vector swizzle ( temp 4-component vector of float)
1400:39                  'u1' ( uniform 2-component vector of float)
1410:39                  Sequence
1420:39                    Constant:
1430:39                      0 (const int)
1440:39                    Constant:
1450:39                      1 (const int)
1460:39                    Constant:
1470:39                      0 (const int)
1480:39                    Constant:
1490:39                      1 (const int)
1500:39              vector swizzle ( temp 4-component vector of float)
1510:39                'u2' ( uniform 3-component vector of float)
1520:39                Sequence
1530:39                  Constant:
1540:39                    0 (const int)
1550:39                  Constant:
1560:39                    1 (const int)
1570:39                  Constant:
1580:39                    2 (const int)
1590:39                  Constant:
1600:39                    0 (const int)
1610:39            vector swizzle ( temp 4-component vector of float)
1620:39              'u3' ( uniform 4-component vector of float)
1630:39                0.000000
1640:39                0.000000
1650:39                0.000000
1660:39                0.000000
1670:39              Sequence
1680:39                Constant:
1690:39                  0 (const int)
1700:39                Constant:
1710:39                  1 (const int)
1720:39                Constant:
1730:39                  2 (const int)
1740:39                Constant:
1750:39                  3 (const int)
1760:40      move second child to first child ( temp 4-component vector of float)
1770:40        'outColor' ( out 4-component vector of float)
1780:40        'color' ( temp 4-component vector of float)
1790:?   Linker Objects
1800:?     'anon@0' (layout( location=5) in block{ in 4-component vector of float o3})
1810:?     'gfo1' ( smooth in 4-component vector of float)
1820:?     'gfo2' ( smooth in 2-component vector of float)
1830:?     'outColor' ( out 4-component vector of float)
1840:?     'u1' ( uniform 2-component vector of float)
1850:?     'u2' ( uniform 3-component vector of float)
1860:?     'u3' ( uniform 4-component vector of float)
1870:?       0.000000
1880:?       0.000000
1890:?       0.000000
1900:?       0.000000
1910:?     'um2' ( uniform 2X2 matrix of float)
1920:?       4.000000
1930:?       0.000000
1940:?       0.000000
1950:?       4.000000
1960:?     'glass' (layout( location=0 binding=0) uniform sampler2D)
1970:?     'anon@1' (layout( column_major std140) uniform block{layout( column_major std140) uniform 4-component vector of float a, layout( column_major std140) uniform 4-component vector of float b})
1980:?     'anon@2' (layout( column_major std430) buffer block{layout( column_major std430) buffer 2-component vector of float fb1})
1990:?     'blockName2' (layout( column_major std140) uniform 2-element array of block{layout( column_major std140) uniform 4-component vector of float a, layout( column_major std140) uniform 2-component vector of float b})
200
201
202Linked vertex stage:
203
204
205Linked geometry stage:
206
207
208Linked fragment stage:
209
210WARNING: Linking unknown stage and fragment stages: Matched shader interfaces are using different instance names.
211    unknown stage stage: Block: crossStageBlock2 Instance: blockName1: ""
212    fragment stage: Block: crossStageBlock2 Instance: blockName2: ""
213
214Shader version: 460
2150:? Sequence
2160:32  Function Definition: main( ( global void)
2170:32    Function Parameters: 
2180:34    Sequence
2190:34      move second child to first child ( temp 4-component vector of float)
2200:34        'vgo1' ( smooth out 4-component vector of float)
2210:34        Constant:
2220:34          0.000000
2230:34          0.000000
2240:34          0.000000
2250:34          0.000000
2260:35      move second child to first child ( temp 2-component vector of float)
2270:35        'vgo2' ( smooth out 2-component vector of float)
2280:35        Constant:
2290:35          0.000000
2300:35          0.000000
2310:36      move second child to first child ( temp 4-component vector of float)
2320:36        o3: direct index for structure ( out 4-component vector of float)
2330:36          'anon@0' (layout( location=5) out block{ out 4-component vector of float o3})
2340:36          Constant:
2350:36            0 (const uint)
2360:36        Constant:
2370:36          0.000000
2380:36          0.000000
2390:36          0.000000
2400:36          0.000000
2410:?   Linker Objects
2420:?     'vgo1' ( smooth out 4-component vector of float)
2430:?     'vgo2' ( smooth out 2-component vector of float)
2440:?     'anon@0' (layout( location=5) out block{ out 4-component vector of float o3})
2450:?     'u1' ( uniform 2-component vector of float)
2460:?     'u2' ( uniform 3-component vector of float)
2470:?       0.000000
2480:?       0.000000
2490:?       0.000000
2500:?     'u3' ( uniform 4-component vector of float)
2510:?       0.000000
2520:?       0.000000
2530:?       0.000000
2540:?       0.000000
2550:?     'um2' ( uniform 2X2 matrix of float)
2560:?       4.000000
2570:?       0.000000
2580:?       0.000000
2590:?       4.000000
2600:?     'glass' (layout( location=0 binding=0) uniform sampler2D)
2610:?     'anon@1' (layout( column_major std140) uniform block{layout( column_major std140) uniform 4-component vector of float a, layout( column_major std140) uniform 4-component vector of float b})
2620:?     'anon@2' (layout( column_major std430) buffer block{layout( column_major std430) buffer 2-component vector of float vb1})
2630:?     'blockName1' (layout( column_major std140) uniform 2-element array of block{layout( column_major std140) uniform 4-component vector of float a, layout( column_major std140) uniform 2-component vector of float b})
2640:?     'gl_VertexID' ( gl_VertexId int VertexId)
2650:?     'gl_InstanceID' ( gl_InstanceId int InstanceId)
266Shader version: 460
267invocations = 1
268max_vertices = 3
269input primitive = points
270output primitive = triangle_strip
2710:? Sequence
2720:29  Function Definition: main( ( global void)
2730:29    Function Parameters: 
2740:31    Sequence
2750:31      Sequence
2760:31        Sequence
2770:31          move second child to first child ( temp int)
2780:31            'i' ( temp int)
2790:31            Constant:
2800:31              0 (const int)
2810:31        Loop with condition tested first
2820:31          Loop Condition
2830:31          Compare Less Than ( temp bool)
2840:31            'i' ( temp int)
2850:31            Constant:
2860:31              3 (const int)
2870:31          Loop Body
2880:32          Sequence
2890:32            move second child to first child ( temp 4-component vector of float)
2900:32              'gfo1' (layout( stream=0) out 4-component vector of float)
2910:32              Constant:
2920:32                0.000000
2930:32                0.000000
2940:32                0.000000
2950:32                0.000000
2960:33            move second child to first child ( temp 2-component vector of float)
2970:33              'gfo2' (layout( stream=0) out 2-component vector of float)
2980:33              Constant:
2990:33                0.000000
3000:33                0.000000
3010:34            move second child to first child ( temp 4-component vector of float)
3020:34              o3: direct index for structure (layout( stream=0) out 4-component vector of float)
3030:34                'gf_out' (layout( location=5 stream=0) out block{layout( stream=0) out 4-component vector of float o3})
3040:34                Constant:
3050:34                  0 (const int)
3060:34              o3: direct index for structure ( in 4-component vector of float)
3070:34                indirect index (layout( location=5) temp block{ in 4-component vector of float o3})
3080:34                  'inBlock' (layout( location=5) in 1-element array of block{ in 4-component vector of float o3})
3090:34                  'i' ( temp int)
3100:34                Constant:
3110:34                  0 (const int)
3120:35            EmitVertex ( global void)
3130:31          Loop Terminal Expression
3140:31          Post-Increment ( temp int)
3150:31            'i' ( temp int)
3160:37      EndPrimitive ( global void)
3170:?   Linker Objects
3180:?     'vgo1' ( in 1-element array of 4-component vector of float)
3190:?     'vgo2' ( in 1-element array of 2-component vector of float)
3200:?     'inBlock' (layout( location=5) in 1-element array of block{ in 4-component vector of float o3})
3210:?     'gfo1' (layout( stream=0) out 4-component vector of float)
3220:?     'gfo2' (layout( stream=0) out 2-component vector of float)
3230:?     'gf_out' (layout( location=5 stream=0) out block{layout( stream=0) out 4-component vector of float o3})
3240:?     'u1' ( uniform 2-component vector of float)
3250:?     'u2' ( uniform 3-component vector of float)
3260:?       0.000000
3270:?       0.000000
3280:?       0.000000
3290:?     'u3' ( uniform 4-component vector of float)
3300:?       0.000000
3310:?       0.000000
3320:?       0.000000
3330:?       0.000000
3340:?     'blockName1' (layout( column_major std140) uniform 2-element array of block{layout( column_major std140) uniform 4-component vector of float a, layout( column_major std140) uniform 2-component vector of float b})
335Shader version: 460
3360:? Sequence
3370:37  Function Definition: main( ( global void)
3380:37    Function Parameters: 
3390:39    Sequence
3400:39      Sequence
3410:39        move second child to first child ( temp 4-component vector of float)
3420:39          'color' ( temp 4-component vector of float)
3430:39          component-wise multiply ( temp 4-component vector of float)
3440:39            component-wise multiply ( temp 4-component vector of float)
3450:39              component-wise multiply ( temp 4-component vector of float)
3460:39                'gfo1' ( smooth in 4-component vector of float)
3470:39                vector swizzle ( temp 4-component vector of float)
3480:39                  'u1' ( uniform 2-component vector of float)
3490:39                  Sequence
3500:39                    Constant:
3510:39                      0 (const int)
3520:39                    Constant:
3530:39                      1 (const int)
3540:39                    Constant:
3550:39                      0 (const int)
3560:39                    Constant:
3570:39                      1 (const int)
3580:39              vector swizzle ( temp 4-component vector of float)
3590:39                'u2' ( uniform 3-component vector of float)
3600:39                Sequence
3610:39                  Constant:
3620:39                    0 (const int)
3630:39                  Constant:
3640:39                    1 (const int)
3650:39                  Constant:
3660:39                    2 (const int)
3670:39                  Constant:
3680:39                    0 (const int)
3690:39            vector swizzle ( temp 4-component vector of float)
3700:39              'u3' ( uniform 4-component vector of float)
3710:39                0.000000
3720:39                0.000000
3730:39                0.000000
3740:39                0.000000
3750:39              Sequence
3760:39                Constant:
3770:39                  0 (const int)
3780:39                Constant:
3790:39                  1 (const int)
3800:39                Constant:
3810:39                  2 (const int)
3820:39                Constant:
3830:39                  3 (const int)
3840:40      move second child to first child ( temp 4-component vector of float)
3850:40        'outColor' ( out 4-component vector of float)
3860:40        'color' ( temp 4-component vector of float)
3870:?   Linker Objects
3880:?     'anon@0' (layout( location=5) in block{ in 4-component vector of float o3})
3890:?     'gfo1' ( smooth in 4-component vector of float)
3900:?     'gfo2' ( smooth in 2-component vector of float)
3910:?     'outColor' ( out 4-component vector of float)
3920:?     'u1' ( uniform 2-component vector of float)
3930:?     'u2' ( uniform 3-component vector of float)
3940:?     'u3' ( uniform 4-component vector of float)
3950:?       0.000000
3960:?       0.000000
3970:?       0.000000
3980:?       0.000000
3990:?     'um2' ( uniform 2X2 matrix of float)
4000:?       4.000000
4010:?       0.000000
4020:?       0.000000
4030:?       4.000000
4040:?     'glass' (layout( location=0 binding=0) uniform sampler2D)
4050:?     'anon@1' (layout( column_major std140) uniform block{layout( column_major std140) uniform 4-component vector of float a, layout( column_major std140) uniform 4-component vector of float b})
4060:?     'anon@2' (layout( column_major std430) buffer block{layout( column_major std430) buffer 2-component vector of float fb1})
4070:?     'blockName2' (layout( column_major std140) uniform 2-element array of block{layout( column_major std140) uniform 4-component vector of float a, layout( column_major std140) uniform 2-component vector of float b})
408
409// Module Version 10000
410// Generated by (magic number): 8000b
411// Id's are bound by 56
412
413                              Capability Shader
414               1:             ExtInstImport  "GLSL.std.450"
415                              MemoryModel Logical GLSL450
416                              EntryPoint Vertex 4  "main" 9 14 18 54 55
417                              Source GLSL 460
418                              Name 4  "main"
419                              Name 9  "vgo1"
420                              Name 14  "vgo2"
421                              Name 16  "outBlock"
422                              MemberName 16(outBlock) 0  "o3"
423                              Name 18  ""
424                              Name 23  "u1"
425                              Name 27  "u2"
426                              Name 29  "u3"
427                              Name 36  "um2"
428                              Name 40  "glass"
429                              Name 41  "crossStageBlock1"
430                              MemberName 41(crossStageBlock1) 0  "a"
431                              MemberName 41(crossStageBlock1) 1  "b"
432                              Name 43  ""
433                              Name 44  "vertOnlyBlock"
434                              MemberName 44(vertOnlyBlock) 0  "vb1"
435                              Name 46  ""
436                              Name 47  "crossStageBlock2"
437                              MemberName 47(crossStageBlock2) 0  "a"
438                              MemberName 47(crossStageBlock2) 1  "b"
439                              Name 52  "blockName1"
440                              Name 54  "gl_VertexID"
441                              Name 55  "gl_InstanceID"
442                              Decorate 9(vgo1) Location 0
443                              Decorate 14(vgo2) Location 1
444                              Decorate 16(outBlock) Block
445                              Decorate 18 Location 5
446                              Decorate 23(u1) Location 1
447                              Decorate 23(u1) DescriptorSet 0
448                              Decorate 27(u2) Location 2
449                              Decorate 27(u2) DescriptorSet 0
450                              Decorate 29(u3) Location 3
451                              Decorate 29(u3) DescriptorSet 0
452                              Decorate 36(um2) Location 4
453                              Decorate 36(um2) DescriptorSet 0
454                              Decorate 40(glass) Location 0
455                              Decorate 40(glass) DescriptorSet 0
456                              Decorate 40(glass) Binding 0
457                              MemberDecorate 41(crossStageBlock1) 0 Offset 0
458                              MemberDecorate 41(crossStageBlock1) 1 Offset 16
459                              Decorate 41(crossStageBlock1) Block
460                              Decorate 43 DescriptorSet 0
461                              Decorate 43 Binding 0
462                              MemberDecorate 44(vertOnlyBlock) 0 Offset 0
463                              Decorate 44(vertOnlyBlock) BufferBlock
464                              Decorate 46 DescriptorSet 0
465                              Decorate 46 Binding 0
466                              MemberDecorate 47(crossStageBlock2) 0 Offset 0
467                              MemberDecorate 47(crossStageBlock2) 1 Offset 16
468                              Decorate 47(crossStageBlock2) Block
469                              Decorate 52(blockName1) DescriptorSet 0
470                              Decorate 52(blockName1) Binding 0
471                              Decorate 54(gl_VertexID) BuiltIn VertexId
472                              Decorate 55(gl_InstanceID) BuiltIn InstanceId
473               2:             TypeVoid
474               3:             TypeFunction 2
475               6:             TypeFloat 32
476               7:             TypeVector 6(float) 4
477               8:             TypePointer Output 7(fvec4)
478         9(vgo1):      8(ptr) Variable Output
479              10:    6(float) Constant 0
480              11:    7(fvec4) ConstantComposite 10 10 10 10
481              12:             TypeVector 6(float) 2
482              13:             TypePointer Output 12(fvec2)
483        14(vgo2):     13(ptr) Variable Output
484              15:   12(fvec2) ConstantComposite 10 10
485    16(outBlock):             TypeStruct 7(fvec4)
486              17:             TypePointer Output 16(outBlock)
487              18:     17(ptr) Variable Output
488              19:             TypeInt 32 1
489              20:     19(int) Constant 0
490              22:             TypePointer UniformConstant 12(fvec2)
491          23(u1):     22(ptr) Variable UniformConstant
492              24:             TypeVector 6(float) 3
493              25:   24(fvec3) ConstantComposite 10 10 10
494              26:             TypePointer UniformConstant 24(fvec3)
495          27(u2):     26(ptr) Variable UniformConstant 25
496              28:             TypePointer UniformConstant 7(fvec4)
497          29(u3):     28(ptr) Variable UniformConstant 11
498              30:             TypeMatrix 12(fvec2) 2
499              31:    6(float) Constant 1082130432
500              32:   12(fvec2) ConstantComposite 31 10
501              33:   12(fvec2) ConstantComposite 10 31
502              34:          30 ConstantComposite 32 33
503              35:             TypePointer UniformConstant 30
504         36(um2):     35(ptr) Variable UniformConstant 34
505              37:             TypeImage 6(float) 2D sampled format:Unknown
506              38:             TypeSampledImage 37
507              39:             TypePointer UniformConstant 38
508       40(glass):     39(ptr) Variable UniformConstant
50941(crossStageBlock1):             TypeStruct 7(fvec4) 7(fvec4)
510              42:             TypePointer Uniform 41(crossStageBlock1)
511              43:     42(ptr) Variable Uniform
51244(vertOnlyBlock):             TypeStruct 12(fvec2)
513              45:             TypePointer Uniform 44(vertOnlyBlock)
514              46:     45(ptr) Variable Uniform
51547(crossStageBlock2):             TypeStruct 7(fvec4) 12(fvec2)
516              48:             TypeInt 32 0
517              49:     48(int) Constant 2
518              50:             TypeArray 47(crossStageBlock2) 49
519              51:             TypePointer Uniform 50
520  52(blockName1):     51(ptr) Variable Uniform
521              53:             TypePointer Input 19(int)
522 54(gl_VertexID):     53(ptr) Variable Input
52355(gl_InstanceID):     53(ptr) Variable Input
524         4(main):           2 Function None 3
525               5:             Label
526                              Store 9(vgo1) 11
527                              Store 14(vgo2) 15
528              21:      8(ptr) AccessChain 18 20
529                              Store 21 11
530                              Return
531                              FunctionEnd
532// Module Version 10000
533// Generated by (magic number): 8000b
534// Id's are bound by 65
535
536                              Capability Geometry
537               1:             ExtInstImport  "GLSL.std.450"
538                              MemoryModel Logical GLSL450
539                              EntryPoint Geometry 4  "main" 22 27 31 37 48 51
540                              ExecutionMode 4 InputPoints
541                              ExecutionMode 4 Invocations 1
542                              ExecutionMode 4 OutputTriangleStrip
543                              ExecutionMode 4 OutputVertices 3
544                              Source GLSL 460
545                              Name 4  "main"
546                              Name 8  "i"
547                              Name 22  "gfo1"
548                              Name 27  "gfo2"
549                              Name 29  "outBlock"
550                              MemberName 29(outBlock) 0  "o3"
551                              Name 31  "gf_out"
552                              Name 32  "outBlock"
553                              MemberName 32(outBlock) 0  "o3"
554                              Name 37  "inBlock"
555                              Name 48  "vgo1"
556                              Name 51  "vgo2"
557                              Name 53  "u1"
558                              Name 57  "u2"
559                              Name 59  "u3"
560                              Name 60  "crossStageBlock2"
561                              MemberName 60(crossStageBlock2) 0  "a"
562                              MemberName 60(crossStageBlock2) 1  "b"
563                              Name 64  "blockName1"
564                              Decorate 22(gfo1) Location 0
565                              Decorate 27(gfo2) Location 1
566                              Decorate 29(outBlock) Block
567                              Decorate 31(gf_out) Location 5
568                              Decorate 32(outBlock) Block
569                              Decorate 37(inBlock) Location 5
570                              Decorate 48(vgo1) Location 0
571                              Decorate 51(vgo2) Location 1
572                              Decorate 53(u1) Location 1
573                              Decorate 53(u1) DescriptorSet 0
574                              Decorate 57(u2) Location 2
575                              Decorate 57(u2) DescriptorSet 0
576                              Decorate 59(u3) Location 3
577                              Decorate 59(u3) DescriptorSet 0
578                              MemberDecorate 60(crossStageBlock2) 0 Offset 0
579                              MemberDecorate 60(crossStageBlock2) 1 Offset 16
580                              Decorate 60(crossStageBlock2) Block
581                              Decorate 64(blockName1) DescriptorSet 0
582                              Decorate 64(blockName1) Binding 0
583               2:             TypeVoid
584               3:             TypeFunction 2
585               6:             TypeInt 32 1
586               7:             TypePointer Function 6(int)
587               9:      6(int) Constant 0
588              16:      6(int) Constant 3
589              17:             TypeBool
590              19:             TypeFloat 32
591              20:             TypeVector 19(float) 4
592              21:             TypePointer Output 20(fvec4)
593        22(gfo1):     21(ptr) Variable Output
594              23:   19(float) Constant 0
595              24:   20(fvec4) ConstantComposite 23 23 23 23
596              25:             TypeVector 19(float) 2
597              26:             TypePointer Output 25(fvec2)
598        27(gfo2):     26(ptr) Variable Output
599              28:   25(fvec2) ConstantComposite 23 23
600    29(outBlock):             TypeStruct 20(fvec4)
601              30:             TypePointer Output 29(outBlock)
602      31(gf_out):     30(ptr) Variable Output
603    32(outBlock):             TypeStruct 20(fvec4)
604              33:             TypeInt 32 0
605              34:     33(int) Constant 1
606              35:             TypeArray 32(outBlock) 34
607              36:             TypePointer Input 35
608     37(inBlock):     36(ptr) Variable Input
609              39:             TypePointer Input 20(fvec4)
610              44:      6(int) Constant 1
611              46:             TypeArray 20(fvec4) 34
612              47:             TypePointer Input 46
613        48(vgo1):     47(ptr) Variable Input
614              49:             TypeArray 25(fvec2) 34
615              50:             TypePointer Input 49
616        51(vgo2):     50(ptr) Variable Input
617              52:             TypePointer UniformConstant 25(fvec2)
618          53(u1):     52(ptr) Variable UniformConstant
619              54:             TypeVector 19(float) 3
620              55:   54(fvec3) ConstantComposite 23 23 23
621              56:             TypePointer UniformConstant 54(fvec3)
622          57(u2):     56(ptr) Variable UniformConstant 55
623              58:             TypePointer UniformConstant 20(fvec4)
624          59(u3):     58(ptr) Variable UniformConstant 24
62560(crossStageBlock2):             TypeStruct 20(fvec4) 25(fvec2)
626              61:     33(int) Constant 2
627              62:             TypeArray 60(crossStageBlock2) 61
628              63:             TypePointer Uniform 62
629  64(blockName1):     63(ptr) Variable Uniform
630         4(main):           2 Function None 3
631               5:             Label
632            8(i):      7(ptr) Variable Function
633                              Store 8(i) 9
634                              Branch 10
635              10:             Label
636                              LoopMerge 12 13 None
637                              Branch 14
638              14:             Label
639              15:      6(int) Load 8(i)
640              18:    17(bool) SLessThan 15 16
641                              BranchConditional 18 11 12
642              11:               Label
643                                Store 22(gfo1) 24
644                                Store 27(gfo2) 28
645              38:      6(int)   Load 8(i)
646              40:     39(ptr)   AccessChain 37(inBlock) 38 9
647              41:   20(fvec4)   Load 40
648              42:     21(ptr)   AccessChain 31(gf_out) 9
649                                Store 42 41
650                                EmitVertex
651                                Branch 13
652              13:               Label
653              43:      6(int)   Load 8(i)
654              45:      6(int)   IAdd 43 44
655                                Store 8(i) 45
656                                Branch 10
657              12:             Label
658                              EndPrimitive
659                              Return
660                              FunctionEnd
661// Module Version 10000
662// Generated by (magic number): 8000b
663// Id's are bound by 62
664
665                              Capability Shader
666               1:             ExtInstImport  "GLSL.std.450"
667                              MemoryModel Logical GLSL450
668                              EntryPoint Fragment 4  "main" 11 32 36 38
669                              ExecutionMode 4 OriginLowerLeft
670                              Source GLSL 460
671                              Name 4  "main"
672                              Name 9  "color"
673                              Name 11  "gfo1"
674                              Name 15  "u1"
675                              Name 21  "u2"
676                              Name 28  "u3"
677                              Name 32  "outColor"
678                              Name 34  "outBlock"
679                              MemberName 34(outBlock) 0  "o3"
680                              Name 36  ""
681                              Name 38  "gfo2"
682                              Name 45  "um2"
683                              Name 49  "glass"
684                              Name 50  "crossStageBlock1"
685                              MemberName 50(crossStageBlock1) 0  "a"
686                              MemberName 50(crossStageBlock1) 1  "b"
687                              Name 52  ""
688                              Name 53  "fragOnlyBlock"
689                              MemberName 53(fragOnlyBlock) 0  "fb1"
690                              Name 55  ""
691                              Name 56  "crossStageBlock2"
692                              MemberName 56(crossStageBlock2) 0  "a"
693                              MemberName 56(crossStageBlock2) 1  "b"
694                              Name 61  "blockName2"
695                              Decorate 11(gfo1) Location 0
696                              Decorate 15(u1) Location 1
697                              Decorate 15(u1) DescriptorSet 0
698                              Decorate 21(u2) Location 2
699                              Decorate 21(u2) DescriptorSet 0
700                              Decorate 28(u3) Location 3
701                              Decorate 28(u3) DescriptorSet 0
702                              Decorate 32(outColor) Location 0
703                              Decorate 34(outBlock) Block
704                              Decorate 36 Location 5
705                              Decorate 38(gfo2) Location 1
706                              Decorate 45(um2) Location 4
707                              Decorate 45(um2) DescriptorSet 0
708                              Decorate 49(glass) Location 0
709                              Decorate 49(glass) DescriptorSet 0
710                              Decorate 49(glass) Binding 0
711                              MemberDecorate 50(crossStageBlock1) 0 Offset 0
712                              MemberDecorate 50(crossStageBlock1) 1 Offset 16
713                              Decorate 50(crossStageBlock1) Block
714                              Decorate 52 DescriptorSet 0
715                              Decorate 52 Binding 0
716                              MemberDecorate 53(fragOnlyBlock) 0 Offset 0
717                              Decorate 53(fragOnlyBlock) BufferBlock
718                              Decorate 55 DescriptorSet 0
719                              Decorate 55 Binding 0
720                              MemberDecorate 56(crossStageBlock2) 0 Offset 0
721                              MemberDecorate 56(crossStageBlock2) 1 Offset 16
722                              Decorate 56(crossStageBlock2) Block
723                              Decorate 61(blockName2) DescriptorSet 0
724                              Decorate 61(blockName2) Binding 0
725               2:             TypeVoid
726               3:             TypeFunction 2
727               6:             TypeFloat 32
728               7:             TypeVector 6(float) 4
729               8:             TypePointer Function 7(fvec4)
730              10:             TypePointer Input 7(fvec4)
731        11(gfo1):     10(ptr) Variable Input
732              13:             TypeVector 6(float) 2
733              14:             TypePointer UniformConstant 13(fvec2)
734          15(u1):     14(ptr) Variable UniformConstant
735              19:             TypeVector 6(float) 3
736              20:             TypePointer UniformConstant 19(fvec3)
737          21(u2):     20(ptr) Variable UniformConstant
738              25:    6(float) Constant 0
739              26:    7(fvec4) ConstantComposite 25 25 25 25
740              27:             TypePointer UniformConstant 7(fvec4)
741          28(u3):     27(ptr) Variable UniformConstant 26
742              31:             TypePointer Output 7(fvec4)
743    32(outColor):     31(ptr) Variable Output
744    34(outBlock):             TypeStruct 7(fvec4)
745              35:             TypePointer Input 34(outBlock)
746              36:     35(ptr) Variable Input
747              37:             TypePointer Input 13(fvec2)
748        38(gfo2):     37(ptr) Variable Input
749              39:             TypeMatrix 13(fvec2) 2
750              40:    6(float) Constant 1082130432
751              41:   13(fvec2) ConstantComposite 40 25
752              42:   13(fvec2) ConstantComposite 25 40
753              43:          39 ConstantComposite 41 42
754              44:             TypePointer UniformConstant 39
755         45(um2):     44(ptr) Variable UniformConstant 43
756              46:             TypeImage 6(float) 2D sampled format:Unknown
757              47:             TypeSampledImage 46
758              48:             TypePointer UniformConstant 47
759       49(glass):     48(ptr) Variable UniformConstant
76050(crossStageBlock1):             TypeStruct 7(fvec4) 7(fvec4)
761              51:             TypePointer Uniform 50(crossStageBlock1)
762              52:     51(ptr) Variable Uniform
76353(fragOnlyBlock):             TypeStruct 13(fvec2)
764              54:             TypePointer Uniform 53(fragOnlyBlock)
765              55:     54(ptr) Variable Uniform
76656(crossStageBlock2):             TypeStruct 7(fvec4) 13(fvec2)
767              57:             TypeInt 32 0
768              58:     57(int) Constant 2
769              59:             TypeArray 56(crossStageBlock2) 58
770              60:             TypePointer Uniform 59
771  61(blockName2):     60(ptr) Variable Uniform
772         4(main):           2 Function None 3
773               5:             Label
774        9(color):      8(ptr) Variable Function
775              12:    7(fvec4) Load 11(gfo1)
776              16:   13(fvec2) Load 15(u1)
777              17:    7(fvec4) VectorShuffle 16 16 0 1 0 1
778              18:    7(fvec4) FMul 12 17
779              22:   19(fvec3) Load 21(u2)
780              23:    7(fvec4) VectorShuffle 22 22 0 1 2 0
781              24:    7(fvec4) FMul 18 23
782              29:    7(fvec4) Load 28(u3)
783              30:    7(fvec4) FMul 24 29
784                              Store 9(color) 30
785              33:    7(fvec4) Load 9(color)
786                              Store 32(outColor) 33
787                              Return
788                              FunctionEnd
789