• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1hlsl.clipdistance-2.geom
2Shader version: 500
3invocations = -1
4max_vertices = 3
5input primitive = triangles
6output primitive = line_strip
70:? Sequence
80:11  Function Definition: @main(vf4[3];u1[3];struct-S-vf4-vf2[2]1;vf2[3][2]; ( temp void)
90:11    Function Parameters:
100:11      'pos' ( in 3-element array of 4-component vector of float)
110:11      'VertexID' ( in 3-element array of uint)
120:11      'OutputStream' ( out structure{ temp 4-component vector of float pos,  temp 2-element array of 2-component vector of float clip})
130:11      'clip' ( in 3-element array of 2-element array of 2-component vector of float)
140:?     Sequence
150:14      move second child to first child ( temp 4-component vector of float)
160:14        pos: direct index for structure ( temp 4-component vector of float)
170:14          's' ( temp structure{ temp 4-component vector of float pos,  temp 2-element array of 2-component vector of float clip})
180:14          Constant:
190:14            0 (const int)
200:14        direct index ( temp 4-component vector of float)
210:14          'pos' ( in 3-element array of 4-component vector of float)
220:14          Constant:
230:14            0 (const int)
240:15      move second child to first child ( temp 2-component vector of float)
250:15        direct index ( temp 2-component vector of float)
260:15          clip: direct index for structure ( temp 2-element array of 2-component vector of float)
270:15            's' ( temp structure{ temp 4-component vector of float pos,  temp 2-element array of 2-component vector of float clip})
280:15            Constant:
290:15              1 (const int)
300:15          Constant:
310:15            0 (const int)
320:15        direct index ( temp 2-component vector of float)
330:15          direct index ( temp 2-element array of 2-component vector of float)
340:15            'clip' ( in 3-element array of 2-element array of 2-component vector of float)
350:15            Constant:
360:15              0 (const int)
370:15          Constant:
380:15            0 (const int)
390:16      move second child to first child ( temp 2-component vector of float)
400:16        direct index ( temp 2-component vector of float)
410:16          clip: direct index for structure ( temp 2-element array of 2-component vector of float)
420:16            's' ( temp structure{ temp 4-component vector of float pos,  temp 2-element array of 2-component vector of float clip})
430:16            Constant:
440:16              1 (const int)
450:16          Constant:
460:16            1 (const int)
470:16        direct index ( temp 2-component vector of float)
480:16          direct index ( temp 2-element array of 2-component vector of float)
490:16            'clip' ( in 3-element array of 2-element array of 2-component vector of float)
500:16            Constant:
510:16              0 (const int)
520:16          Constant:
530:16            1 (const int)
540:18      Sequence
550:18        Sequence
560:18          move second child to first child ( temp 4-component vector of float)
570:?             'OutputStream.pos' ( out 4-component vector of float Position)
580:18            pos: direct index for structure ( temp 4-component vector of float)
590:18              's' ( temp structure{ temp 4-component vector of float pos,  temp 2-element array of 2-component vector of float clip})
600:18              Constant:
610:18                0 (const int)
620:?           Sequence
630:18            move second child to first child ( temp float)
640:18              direct index ( out float ClipDistance)
650:?                 'OutputStream.clip' ( out 4-element array of float ClipDistance)
660:18                Constant:
670:18                  0 (const int)
680:18              direct index ( temp float)
690:18                direct index ( temp 2-component vector of float)
700:18                  clip: direct index for structure ( temp 2-element array of 2-component vector of float)
710:18                    's' ( temp structure{ temp 4-component vector of float pos,  temp 2-element array of 2-component vector of float clip})
720:18                    Constant:
730:18                      1 (const int)
740:18                  Constant:
750:18                    0 (const int)
760:18                Constant:
770:18                  0 (const int)
780:18            move second child to first child ( temp float)
790:18              direct index ( out float ClipDistance)
800:?                 'OutputStream.clip' ( out 4-element array of float ClipDistance)
810:18                Constant:
820:18                  1 (const int)
830:18              direct index ( temp float)
840:18                direct index ( temp 2-component vector of float)
850:18                  clip: direct index for structure ( temp 2-element array of 2-component vector of float)
860:18                    's' ( temp structure{ temp 4-component vector of float pos,  temp 2-element array of 2-component vector of float clip})
870:18                    Constant:
880:18                      1 (const int)
890:18                  Constant:
900:18                    0 (const int)
910:18                Constant:
920:18                  1 (const int)
930:18            move second child to first child ( temp float)
940:18              direct index ( out float ClipDistance)
950:?                 'OutputStream.clip' ( out 4-element array of float ClipDistance)
960:18                Constant:
970:18                  2 (const int)
980:18              direct index ( temp float)
990:18                direct index ( temp 2-component vector of float)
1000:18                  clip: direct index for structure ( temp 2-element array of 2-component vector of float)
1010:18                    's' ( temp structure{ temp 4-component vector of float pos,  temp 2-element array of 2-component vector of float clip})
1020:18                    Constant:
1030:18                      1 (const int)
1040:18                  Constant:
1050:18                    1 (const int)
1060:18                Constant:
1070:18                  0 (const int)
1080:18            move second child to first child ( temp float)
1090:18              direct index ( out float ClipDistance)
1100:?                 'OutputStream.clip' ( out 4-element array of float ClipDistance)
1110:18                Constant:
1120:18                  3 (const int)
1130:18              direct index ( temp float)
1140:18                direct index ( temp 2-component vector of float)
1150:18                  clip: direct index for structure ( temp 2-element array of 2-component vector of float)
1160:18                    's' ( temp structure{ temp 4-component vector of float pos,  temp 2-element array of 2-component vector of float clip})
1170:18                    Constant:
1180:18                      1 (const int)
1190:18                  Constant:
1200:18                    1 (const int)
1210:18                Constant:
1220:18                  1 (const int)
1230:18        EmitVertex ( temp void)
1240:11  Function Definition: main( ( temp void)
1250:11    Function Parameters:
1260:?     Sequence
1270:11      move second child to first child ( temp 3-element array of 4-component vector of float)
1280:?         'pos' ( temp 3-element array of 4-component vector of float)
1290:?         'pos' ( in 3-element array of 4-component vector of float Position)
1300:11      move second child to first child ( temp 3-element array of uint)
1310:?         'VertexID' ( temp 3-element array of uint)
1320:?         'VertexID' (layout( location=0) in 3-element array of uint)
1330:?       Sequence
1340:11        move second child to first child ( temp float)
1350:11          direct index ( temp float)
1360:11            direct index ( temp 2-component vector of float)
1370:11              direct index ( temp 2-element array of 2-component vector of float)
1380:?                 'clip' ( temp 3-element array of 2-element array of 2-component vector of float)
1390:11                Constant:
1400:11                  0 (const int)
1410:11              Constant:
1420:11                0 (const int)
1430:11            Constant:
1440:11              0 (const int)
1450:11          direct index ( in float ClipDistance)
1460:11            direct index ( in 4-element array of float ClipDistance)
1470:?               'clip' ( in 3-element array of 4-element array of float ClipDistance)
1480:11              Constant:
1490:11                0 (const int)
1500:11            Constant:
1510:11              0 (const int)
1520:11        move second child to first child ( temp float)
1530:11          direct index ( temp float)
1540:11            direct index ( temp 2-component vector of float)
1550:11              direct index ( temp 2-element array of 2-component vector of float)
1560:?                 'clip' ( temp 3-element array of 2-element array of 2-component vector of float)
1570:11                Constant:
1580:11                  0 (const int)
1590:11              Constant:
1600:11                0 (const int)
1610:11            Constant:
1620:11              1 (const int)
1630:11          direct index ( in float ClipDistance)
1640:11            direct index ( in 4-element array of float ClipDistance)
1650:?               'clip' ( in 3-element array of 4-element array of float ClipDistance)
1660:11              Constant:
1670:11                0 (const int)
1680:11            Constant:
1690:11              1 (const int)
1700:11        move second child to first child ( temp float)
1710:11          direct index ( temp float)
1720:11            direct index ( temp 2-component vector of float)
1730:11              direct index ( temp 2-element array of 2-component vector of float)
1740:?                 'clip' ( temp 3-element array of 2-element array of 2-component vector of float)
1750:11                Constant:
1760:11                  0 (const int)
1770:11              Constant:
1780:11                1 (const int)
1790:11            Constant:
1800:11              0 (const int)
1810:11          direct index ( in float ClipDistance)
1820:11            direct index ( in 4-element array of float ClipDistance)
1830:?               'clip' ( in 3-element array of 4-element array of float ClipDistance)
1840:11              Constant:
1850:11                0 (const int)
1860:11            Constant:
1870:11              2 (const int)
1880:11        move second child to first child ( temp float)
1890:11          direct index ( temp float)
1900:11            direct index ( temp 2-component vector of float)
1910:11              direct index ( temp 2-element array of 2-component vector of float)
1920:?                 'clip' ( temp 3-element array of 2-element array of 2-component vector of float)
1930:11                Constant:
1940:11                  0 (const int)
1950:11              Constant:
1960:11                1 (const int)
1970:11            Constant:
1980:11              1 (const int)
1990:11          direct index ( in float ClipDistance)
2000:11            direct index ( in 4-element array of float ClipDistance)
2010:?               'clip' ( in 3-element array of 4-element array of float ClipDistance)
2020:11              Constant:
2030:11                0 (const int)
2040:11            Constant:
2050:11              3 (const int)
2060:11        move second child to first child ( temp float)
2070:11          direct index ( temp float)
2080:11            direct index ( temp 2-component vector of float)
2090:11              direct index ( temp 2-element array of 2-component vector of float)
2100:?                 'clip' ( temp 3-element array of 2-element array of 2-component vector of float)
2110:11                Constant:
2120:11                  1 (const int)
2130:11              Constant:
2140:11                0 (const int)
2150:11            Constant:
2160:11              0 (const int)
2170:11          direct index ( in float ClipDistance)
2180:11            direct index ( in 4-element array of float ClipDistance)
2190:?               'clip' ( in 3-element array of 4-element array of float ClipDistance)
2200:11              Constant:
2210:11                1 (const int)
2220:11            Constant:
2230:11              0 (const int)
2240:11        move second child to first child ( temp float)
2250:11          direct index ( temp float)
2260:11            direct index ( temp 2-component vector of float)
2270:11              direct index ( temp 2-element array of 2-component vector of float)
2280:?                 'clip' ( temp 3-element array of 2-element array of 2-component vector of float)
2290:11                Constant:
2300:11                  1 (const int)
2310:11              Constant:
2320:11                0 (const int)
2330:11            Constant:
2340:11              1 (const int)
2350:11          direct index ( in float ClipDistance)
2360:11            direct index ( in 4-element array of float ClipDistance)
2370:?               'clip' ( in 3-element array of 4-element array of float ClipDistance)
2380:11              Constant:
2390:11                1 (const int)
2400:11            Constant:
2410:11              1 (const int)
2420:11        move second child to first child ( temp float)
2430:11          direct index ( temp float)
2440:11            direct index ( temp 2-component vector of float)
2450:11              direct index ( temp 2-element array of 2-component vector of float)
2460:?                 'clip' ( temp 3-element array of 2-element array of 2-component vector of float)
2470:11                Constant:
2480:11                  1 (const int)
2490:11              Constant:
2500:11                1 (const int)
2510:11            Constant:
2520:11              0 (const int)
2530:11          direct index ( in float ClipDistance)
2540:11            direct index ( in 4-element array of float ClipDistance)
2550:?               'clip' ( in 3-element array of 4-element array of float ClipDistance)
2560:11              Constant:
2570:11                1 (const int)
2580:11            Constant:
2590:11              2 (const int)
2600:11        move second child to first child ( temp float)
2610:11          direct index ( temp float)
2620:11            direct index ( temp 2-component vector of float)
2630:11              direct index ( temp 2-element array of 2-component vector of float)
2640:?                 'clip' ( temp 3-element array of 2-element array of 2-component vector of float)
2650:11                Constant:
2660:11                  1 (const int)
2670:11              Constant:
2680:11                1 (const int)
2690:11            Constant:
2700:11              1 (const int)
2710:11          direct index ( in float ClipDistance)
2720:11            direct index ( in 4-element array of float ClipDistance)
2730:?               'clip' ( in 3-element array of 4-element array of float ClipDistance)
2740:11              Constant:
2750:11                1 (const int)
2760:11            Constant:
2770:11              3 (const int)
2780:11        move second child to first child ( temp float)
2790:11          direct index ( temp float)
2800:11            direct index ( temp 2-component vector of float)
2810:11              direct index ( temp 2-element array of 2-component vector of float)
2820:?                 'clip' ( temp 3-element array of 2-element array of 2-component vector of float)
2830:11                Constant:
2840:11                  2 (const int)
2850:11              Constant:
2860:11                0 (const int)
2870:11            Constant:
2880:11              0 (const int)
2890:11          direct index ( in float ClipDistance)
2900:11            direct index ( in 4-element array of float ClipDistance)
2910:?               'clip' ( in 3-element array of 4-element array of float ClipDistance)
2920:11              Constant:
2930:11                2 (const int)
2940:11            Constant:
2950:11              0 (const int)
2960:11        move second child to first child ( temp float)
2970:11          direct index ( temp float)
2980:11            direct index ( temp 2-component vector of float)
2990:11              direct index ( temp 2-element array of 2-component vector of float)
3000:?                 'clip' ( temp 3-element array of 2-element array of 2-component vector of float)
3010:11                Constant:
3020:11                  2 (const int)
3030:11              Constant:
3040:11                0 (const int)
3050:11            Constant:
3060:11              1 (const int)
3070:11          direct index ( in float ClipDistance)
3080:11            direct index ( in 4-element array of float ClipDistance)
3090:?               'clip' ( in 3-element array of 4-element array of float ClipDistance)
3100:11              Constant:
3110:11                2 (const int)
3120:11            Constant:
3130:11              1 (const int)
3140:11        move second child to first child ( temp float)
3150:11          direct index ( temp float)
3160:11            direct index ( temp 2-component vector of float)
3170:11              direct index ( temp 2-element array of 2-component vector of float)
3180:?                 'clip' ( temp 3-element array of 2-element array of 2-component vector of float)
3190:11                Constant:
3200:11                  2 (const int)
3210:11              Constant:
3220:11                1 (const int)
3230:11            Constant:
3240:11              0 (const int)
3250:11          direct index ( in float ClipDistance)
3260:11            direct index ( in 4-element array of float ClipDistance)
3270:?               'clip' ( in 3-element array of 4-element array of float ClipDistance)
3280:11              Constant:
3290:11                2 (const int)
3300:11            Constant:
3310:11              2 (const int)
3320:11        move second child to first child ( temp float)
3330:11          direct index ( temp float)
3340:11            direct index ( temp 2-component vector of float)
3350:11              direct index ( temp 2-element array of 2-component vector of float)
3360:?                 'clip' ( temp 3-element array of 2-element array of 2-component vector of float)
3370:11                Constant:
3380:11                  2 (const int)
3390:11              Constant:
3400:11                1 (const int)
3410:11            Constant:
3420:11              1 (const int)
3430:11          direct index ( in float ClipDistance)
3440:11            direct index ( in 4-element array of float ClipDistance)
3450:?               'clip' ( in 3-element array of 4-element array of float ClipDistance)
3460:11              Constant:
3470:11                2 (const int)
3480:11            Constant:
3490:11              3 (const int)
3500:11      Function Call: @main(vf4[3];u1[3];struct-S-vf4-vf2[2]1;vf2[3][2]; ( temp void)
3510:?         'pos' ( temp 3-element array of 4-component vector of float)
3520:?         'VertexID' ( temp 3-element array of uint)
3530:?         'OutputStream' ( temp structure{ temp 4-component vector of float pos,  temp 2-element array of 2-component vector of float clip})
3540:?         'clip' ( temp 3-element array of 2-element array of 2-component vector of float)
3550:?   Linker Objects
3560:?     'pos' ( in 3-element array of 4-component vector of float Position)
3570:?     'VertexID' (layout( location=0) in 3-element array of uint)
3580:?     'OutputStream.pos' ( out 4-component vector of float Position)
3590:?     'clip' ( in 3-element array of 4-element array of float ClipDistance)
3600:?     'OutputStream.clip' ( out 4-element array of float ClipDistance)
361
362
363Linked geometry stage:
364
365
366Shader version: 500
367invocations = 1
368max_vertices = 3
369input primitive = triangles
370output primitive = line_strip
3710:? Sequence
3720:11  Function Definition: @main(vf4[3];u1[3];struct-S-vf4-vf2[2]1;vf2[3][2]; ( temp void)
3730:11    Function Parameters:
3740:11      'pos' ( in 3-element array of 4-component vector of float)
3750:11      'VertexID' ( in 3-element array of uint)
3760:11      'OutputStream' ( out structure{ temp 4-component vector of float pos,  temp 2-element array of 2-component vector of float clip})
3770:11      'clip' ( in 3-element array of 2-element array of 2-component vector of float)
3780:?     Sequence
3790:14      move second child to first child ( temp 4-component vector of float)
3800:14        pos: direct index for structure ( temp 4-component vector of float)
3810:14          's' ( temp structure{ temp 4-component vector of float pos,  temp 2-element array of 2-component vector of float clip})
3820:14          Constant:
3830:14            0 (const int)
3840:14        direct index ( temp 4-component vector of float)
3850:14          'pos' ( in 3-element array of 4-component vector of float)
3860:14          Constant:
3870:14            0 (const int)
3880:15      move second child to first child ( temp 2-component vector of float)
3890:15        direct index ( temp 2-component vector of float)
3900:15          clip: direct index for structure ( temp 2-element array of 2-component vector of float)
3910:15            's' ( temp structure{ temp 4-component vector of float pos,  temp 2-element array of 2-component vector of float clip})
3920:15            Constant:
3930:15              1 (const int)
3940:15          Constant:
3950:15            0 (const int)
3960:15        direct index ( temp 2-component vector of float)
3970:15          direct index ( temp 2-element array of 2-component vector of float)
3980:15            'clip' ( in 3-element array of 2-element array of 2-component vector of float)
3990:15            Constant:
4000:15              0 (const int)
4010:15          Constant:
4020:15            0 (const int)
4030:16      move second child to first child ( temp 2-component vector of float)
4040:16        direct index ( temp 2-component vector of float)
4050:16          clip: direct index for structure ( temp 2-element array of 2-component vector of float)
4060:16            's' ( temp structure{ temp 4-component vector of float pos,  temp 2-element array of 2-component vector of float clip})
4070:16            Constant:
4080:16              1 (const int)
4090:16          Constant:
4100:16            1 (const int)
4110:16        direct index ( temp 2-component vector of float)
4120:16          direct index ( temp 2-element array of 2-component vector of float)
4130:16            'clip' ( in 3-element array of 2-element array of 2-component vector of float)
4140:16            Constant:
4150:16              0 (const int)
4160:16          Constant:
4170:16            1 (const int)
4180:18      Sequence
4190:18        Sequence
4200:18          move second child to first child ( temp 4-component vector of float)
4210:?             'OutputStream.pos' ( out 4-component vector of float Position)
4220:18            pos: direct index for structure ( temp 4-component vector of float)
4230:18              's' ( temp structure{ temp 4-component vector of float pos,  temp 2-element array of 2-component vector of float clip})
4240:18              Constant:
4250:18                0 (const int)
4260:?           Sequence
4270:18            move second child to first child ( temp float)
4280:18              direct index ( out float ClipDistance)
4290:?                 'OutputStream.clip' ( out 4-element array of float ClipDistance)
4300:18                Constant:
4310:18                  0 (const int)
4320:18              direct index ( temp float)
4330:18                direct index ( temp 2-component vector of float)
4340:18                  clip: direct index for structure ( temp 2-element array of 2-component vector of float)
4350:18                    's' ( temp structure{ temp 4-component vector of float pos,  temp 2-element array of 2-component vector of float clip})
4360:18                    Constant:
4370:18                      1 (const int)
4380:18                  Constant:
4390:18                    0 (const int)
4400:18                Constant:
4410:18                  0 (const int)
4420:18            move second child to first child ( temp float)
4430:18              direct index ( out float ClipDistance)
4440:?                 'OutputStream.clip' ( out 4-element array of float ClipDistance)
4450:18                Constant:
4460:18                  1 (const int)
4470:18              direct index ( temp float)
4480:18                direct index ( temp 2-component vector of float)
4490:18                  clip: direct index for structure ( temp 2-element array of 2-component vector of float)
4500:18                    's' ( temp structure{ temp 4-component vector of float pos,  temp 2-element array of 2-component vector of float clip})
4510:18                    Constant:
4520:18                      1 (const int)
4530:18                  Constant:
4540:18                    0 (const int)
4550:18                Constant:
4560:18                  1 (const int)
4570:18            move second child to first child ( temp float)
4580:18              direct index ( out float ClipDistance)
4590:?                 'OutputStream.clip' ( out 4-element array of float ClipDistance)
4600:18                Constant:
4610:18                  2 (const int)
4620:18              direct index ( temp float)
4630:18                direct index ( temp 2-component vector of float)
4640:18                  clip: direct index for structure ( temp 2-element array of 2-component vector of float)
4650:18                    's' ( temp structure{ temp 4-component vector of float pos,  temp 2-element array of 2-component vector of float clip})
4660:18                    Constant:
4670:18                      1 (const int)
4680:18                  Constant:
4690:18                    1 (const int)
4700:18                Constant:
4710:18                  0 (const int)
4720:18            move second child to first child ( temp float)
4730:18              direct index ( out float ClipDistance)
4740:?                 'OutputStream.clip' ( out 4-element array of float ClipDistance)
4750:18                Constant:
4760:18                  3 (const int)
4770:18              direct index ( temp float)
4780:18                direct index ( temp 2-component vector of float)
4790:18                  clip: direct index for structure ( temp 2-element array of 2-component vector of float)
4800:18                    's' ( temp structure{ temp 4-component vector of float pos,  temp 2-element array of 2-component vector of float clip})
4810:18                    Constant:
4820:18                      1 (const int)
4830:18                  Constant:
4840:18                    1 (const int)
4850:18                Constant:
4860:18                  1 (const int)
4870:18        EmitVertex ( temp void)
4880:11  Function Definition: main( ( temp void)
4890:11    Function Parameters:
4900:?     Sequence
4910:11      move second child to first child ( temp 3-element array of 4-component vector of float)
4920:?         'pos' ( temp 3-element array of 4-component vector of float)
4930:?         'pos' ( in 3-element array of 4-component vector of float Position)
4940:11      move second child to first child ( temp 3-element array of uint)
4950:?         'VertexID' ( temp 3-element array of uint)
4960:?         'VertexID' (layout( location=0) in 3-element array of uint)
4970:?       Sequence
4980:11        move second child to first child ( temp float)
4990:11          direct index ( temp float)
5000:11            direct index ( temp 2-component vector of float)
5010:11              direct index ( temp 2-element array of 2-component vector of float)
5020:?                 'clip' ( temp 3-element array of 2-element array of 2-component vector of float)
5030:11                Constant:
5040:11                  0 (const int)
5050:11              Constant:
5060:11                0 (const int)
5070:11            Constant:
5080:11              0 (const int)
5090:11          direct index ( in float ClipDistance)
5100:11            direct index ( in 4-element array of float ClipDistance)
5110:?               'clip' ( in 3-element array of 4-element array of float ClipDistance)
5120:11              Constant:
5130:11                0 (const int)
5140:11            Constant:
5150:11              0 (const int)
5160:11        move second child to first child ( temp float)
5170:11          direct index ( temp float)
5180:11            direct index ( temp 2-component vector of float)
5190:11              direct index ( temp 2-element array of 2-component vector of float)
5200:?                 'clip' ( temp 3-element array of 2-element array of 2-component vector of float)
5210:11                Constant:
5220:11                  0 (const int)
5230:11              Constant:
5240:11                0 (const int)
5250:11            Constant:
5260:11              1 (const int)
5270:11          direct index ( in float ClipDistance)
5280:11            direct index ( in 4-element array of float ClipDistance)
5290:?               'clip' ( in 3-element array of 4-element array of float ClipDistance)
5300:11              Constant:
5310:11                0 (const int)
5320:11            Constant:
5330:11              1 (const int)
5340:11        move second child to first child ( temp float)
5350:11          direct index ( temp float)
5360:11            direct index ( temp 2-component vector of float)
5370:11              direct index ( temp 2-element array of 2-component vector of float)
5380:?                 'clip' ( temp 3-element array of 2-element array of 2-component vector of float)
5390:11                Constant:
5400:11                  0 (const int)
5410:11              Constant:
5420:11                1 (const int)
5430:11            Constant:
5440:11              0 (const int)
5450:11          direct index ( in float ClipDistance)
5460:11            direct index ( in 4-element array of float ClipDistance)
5470:?               'clip' ( in 3-element array of 4-element array of float ClipDistance)
5480:11              Constant:
5490:11                0 (const int)
5500:11            Constant:
5510:11              2 (const int)
5520:11        move second child to first child ( temp float)
5530:11          direct index ( temp float)
5540:11            direct index ( temp 2-component vector of float)
5550:11              direct index ( temp 2-element array of 2-component vector of float)
5560:?                 'clip' ( temp 3-element array of 2-element array of 2-component vector of float)
5570:11                Constant:
5580:11                  0 (const int)
5590:11              Constant:
5600:11                1 (const int)
5610:11            Constant:
5620:11              1 (const int)
5630:11          direct index ( in float ClipDistance)
5640:11            direct index ( in 4-element array of float ClipDistance)
5650:?               'clip' ( in 3-element array of 4-element array of float ClipDistance)
5660:11              Constant:
5670:11                0 (const int)
5680:11            Constant:
5690:11              3 (const int)
5700:11        move second child to first child ( temp float)
5710:11          direct index ( temp float)
5720:11            direct index ( temp 2-component vector of float)
5730:11              direct index ( temp 2-element array of 2-component vector of float)
5740:?                 'clip' ( temp 3-element array of 2-element array of 2-component vector of float)
5750:11                Constant:
5760:11                  1 (const int)
5770:11              Constant:
5780:11                0 (const int)
5790:11            Constant:
5800:11              0 (const int)
5810:11          direct index ( in float ClipDistance)
5820:11            direct index ( in 4-element array of float ClipDistance)
5830:?               'clip' ( in 3-element array of 4-element array of float ClipDistance)
5840:11              Constant:
5850:11                1 (const int)
5860:11            Constant:
5870:11              0 (const int)
5880:11        move second child to first child ( temp float)
5890:11          direct index ( temp float)
5900:11            direct index ( temp 2-component vector of float)
5910:11              direct index ( temp 2-element array of 2-component vector of float)
5920:?                 'clip' ( temp 3-element array of 2-element array of 2-component vector of float)
5930:11                Constant:
5940:11                  1 (const int)
5950:11              Constant:
5960:11                0 (const int)
5970:11            Constant:
5980:11              1 (const int)
5990:11          direct index ( in float ClipDistance)
6000:11            direct index ( in 4-element array of float ClipDistance)
6010:?               'clip' ( in 3-element array of 4-element array of float ClipDistance)
6020:11              Constant:
6030:11                1 (const int)
6040:11            Constant:
6050:11              1 (const int)
6060:11        move second child to first child ( temp float)
6070:11          direct index ( temp float)
6080:11            direct index ( temp 2-component vector of float)
6090:11              direct index ( temp 2-element array of 2-component vector of float)
6100:?                 'clip' ( temp 3-element array of 2-element array of 2-component vector of float)
6110:11                Constant:
6120:11                  1 (const int)
6130:11              Constant:
6140:11                1 (const int)
6150:11            Constant:
6160:11              0 (const int)
6170:11          direct index ( in float ClipDistance)
6180:11            direct index ( in 4-element array of float ClipDistance)
6190:?               'clip' ( in 3-element array of 4-element array of float ClipDistance)
6200:11              Constant:
6210:11                1 (const int)
6220:11            Constant:
6230:11              2 (const int)
6240:11        move second child to first child ( temp float)
6250:11          direct index ( temp float)
6260:11            direct index ( temp 2-component vector of float)
6270:11              direct index ( temp 2-element array of 2-component vector of float)
6280:?                 'clip' ( temp 3-element array of 2-element array of 2-component vector of float)
6290:11                Constant:
6300:11                  1 (const int)
6310:11              Constant:
6320:11                1 (const int)
6330:11            Constant:
6340:11              1 (const int)
6350:11          direct index ( in float ClipDistance)
6360:11            direct index ( in 4-element array of float ClipDistance)
6370:?               'clip' ( in 3-element array of 4-element array of float ClipDistance)
6380:11              Constant:
6390:11                1 (const int)
6400:11            Constant:
6410:11              3 (const int)
6420:11        move second child to first child ( temp float)
6430:11          direct index ( temp float)
6440:11            direct index ( temp 2-component vector of float)
6450:11              direct index ( temp 2-element array of 2-component vector of float)
6460:?                 'clip' ( temp 3-element array of 2-element array of 2-component vector of float)
6470:11                Constant:
6480:11                  2 (const int)
6490:11              Constant:
6500:11                0 (const int)
6510:11            Constant:
6520:11              0 (const int)
6530:11          direct index ( in float ClipDistance)
6540:11            direct index ( in 4-element array of float ClipDistance)
6550:?               'clip' ( in 3-element array of 4-element array of float ClipDistance)
6560:11              Constant:
6570:11                2 (const int)
6580:11            Constant:
6590:11              0 (const int)
6600:11        move second child to first child ( temp float)
6610:11          direct index ( temp float)
6620:11            direct index ( temp 2-component vector of float)
6630:11              direct index ( temp 2-element array of 2-component vector of float)
6640:?                 'clip' ( temp 3-element array of 2-element array of 2-component vector of float)
6650:11                Constant:
6660:11                  2 (const int)
6670:11              Constant:
6680:11                0 (const int)
6690:11            Constant:
6700:11              1 (const int)
6710:11          direct index ( in float ClipDistance)
6720:11            direct index ( in 4-element array of float ClipDistance)
6730:?               'clip' ( in 3-element array of 4-element array of float ClipDistance)
6740:11              Constant:
6750:11                2 (const int)
6760:11            Constant:
6770:11              1 (const int)
6780:11        move second child to first child ( temp float)
6790:11          direct index ( temp float)
6800:11            direct index ( temp 2-component vector of float)
6810:11              direct index ( temp 2-element array of 2-component vector of float)
6820:?                 'clip' ( temp 3-element array of 2-element array of 2-component vector of float)
6830:11                Constant:
6840:11                  2 (const int)
6850:11              Constant:
6860:11                1 (const int)
6870:11            Constant:
6880:11              0 (const int)
6890:11          direct index ( in float ClipDistance)
6900:11            direct index ( in 4-element array of float ClipDistance)
6910:?               'clip' ( in 3-element array of 4-element array of float ClipDistance)
6920:11              Constant:
6930:11                2 (const int)
6940:11            Constant:
6950:11              2 (const int)
6960:11        move second child to first child ( temp float)
6970:11          direct index ( temp float)
6980:11            direct index ( temp 2-component vector of float)
6990:11              direct index ( temp 2-element array of 2-component vector of float)
7000:?                 'clip' ( temp 3-element array of 2-element array of 2-component vector of float)
7010:11                Constant:
7020:11                  2 (const int)
7030:11              Constant:
7040:11                1 (const int)
7050:11            Constant:
7060:11              1 (const int)
7070:11          direct index ( in float ClipDistance)
7080:11            direct index ( in 4-element array of float ClipDistance)
7090:?               'clip' ( in 3-element array of 4-element array of float ClipDistance)
7100:11              Constant:
7110:11                2 (const int)
7120:11            Constant:
7130:11              3 (const int)
7140:11      Function Call: @main(vf4[3];u1[3];struct-S-vf4-vf2[2]1;vf2[3][2]; ( temp void)
7150:?         'pos' ( temp 3-element array of 4-component vector of float)
7160:?         'VertexID' ( temp 3-element array of uint)
7170:?         'OutputStream' ( temp structure{ temp 4-component vector of float pos,  temp 2-element array of 2-component vector of float clip})
7180:?         'clip' ( temp 3-element array of 2-element array of 2-component vector of float)
7190:?   Linker Objects
7200:?     'pos' ( in 3-element array of 4-component vector of float Position)
7210:?     'VertexID' (layout( location=0) in 3-element array of uint)
7220:?     'OutputStream.pos' ( out 4-component vector of float Position)
7230:?     'clip' ( in 3-element array of 4-element array of float ClipDistance)
7240:?     'OutputStream.clip' ( out 4-element array of float ClipDistance)
725
726// Module Version 10000
727// Generated by (magic number): 8000a
728// Id's are bound by 128
729
730                              Capability Geometry
731                              Capability ClipDistance
732               1:             ExtInstImport  "GLSL.std.450"
733                              MemoryModel Logical GLSL450
734                              EntryPoint Geometry 4  "main" 44 50 71 75 80
735                              ExecutionMode 4 Triangles
736                              ExecutionMode 4 Invocations 1
737                              ExecutionMode 4 OutputLineStrip
738                              ExecutionMode 4 OutputVertices 3
739                              Source HLSL 500
740                              Name 4  "main"
741                              Name 17  "S"
742                              MemberName 17(S) 0  "pos"
743                              MemberName 17(S) 1  "clip"
744                              Name 26  "@main(vf4[3];u1[3];struct-S-vf4-vf2[2]1;vf2[3][2];"
745                              Name 22  "pos"
746                              Name 23  "VertexID"
747                              Name 24  "OutputStream"
748                              Name 25  "clip"
749                              Name 28  "s"
750                              Name 44  "OutputStream.pos"
751                              Name 50  "OutputStream.clip"
752                              Name 69  "pos"
753                              Name 71  "pos"
754                              Name 73  "VertexID"
755                              Name 75  "VertexID"
756                              Name 77  "clip"
757                              Name 80  "clip"
758                              Name 118  "OutputStream"
759                              Name 119  "param"
760                              Name 121  "param"
761                              Name 123  "param"
762                              Name 124  "param"
763                              Decorate 44(OutputStream.pos) BuiltIn Position
764                              Decorate 50(OutputStream.clip) BuiltIn ClipDistance
765                              Decorate 71(pos) BuiltIn Position
766                              Decorate 75(VertexID) Location 0
767                              Decorate 80(clip) BuiltIn ClipDistance
768               2:             TypeVoid
769               3:             TypeFunction 2
770               6:             TypeFloat 32
771               7:             TypeVector 6(float) 4
772               8:             TypeInt 32 0
773               9:      8(int) Constant 3
774              10:             TypeArray 7(fvec4) 9
775              11:             TypePointer Function 10
776              12:             TypeArray 8(int) 9
777              13:             TypePointer Function 12
778              14:             TypeVector 6(float) 2
779              15:      8(int) Constant 2
780              16:             TypeArray 14(fvec2) 15
781           17(S):             TypeStruct 7(fvec4) 16
782              18:             TypePointer Function 17(S)
783              19:             TypeArray 16 9
784              20:             TypePointer Function 19
785              21:             TypeFunction 2 11(ptr) 13(ptr) 18(ptr) 20(ptr)
786              29:             TypeInt 32 1
787              30:     29(int) Constant 0
788              31:             TypePointer Function 7(fvec4)
789              35:     29(int) Constant 1
790              36:             TypePointer Function 14(fvec2)
791              43:             TypePointer Output 7(fvec4)
79244(OutputStream.pos):     43(ptr) Variable Output
793              47:      8(int) Constant 4
794              48:             TypeArray 6(float) 47
795              49:             TypePointer Output 48
79650(OutputStream.clip):     49(ptr) Variable Output
797              51:      8(int) Constant 0
798              52:             TypePointer Function 6(float)
799              55:             TypePointer Output 6(float)
800              57:      8(int) Constant 1
801              61:     29(int) Constant 2
802              65:     29(int) Constant 3
803              70:             TypePointer Input 10
804         71(pos):     70(ptr) Variable Input
805              74:             TypePointer Input 12
806    75(VertexID):     74(ptr) Variable Input
807              78:             TypeArray 48 9
808              79:             TypePointer Input 78
809        80(clip):     79(ptr) Variable Input
810              81:             TypePointer Input 6(float)
811         4(main):           2 Function None 3
812               5:             Label
813         69(pos):     11(ptr) Variable Function
814    73(VertexID):     13(ptr) Variable Function
815        77(clip):     20(ptr) Variable Function
816118(OutputStream):     18(ptr) Variable Function
817      119(param):     11(ptr) Variable Function
818      121(param):     13(ptr) Variable Function
819      123(param):     18(ptr) Variable Function
820      124(param):     20(ptr) Variable Function
821              72:          10 Load 71(pos)
822                              Store 69(pos) 72
823              76:          12 Load 75(VertexID)
824                              Store 73(VertexID) 76
825              82:     81(ptr) AccessChain 80(clip) 30 30
826              83:    6(float) Load 82
827              84:     52(ptr) AccessChain 77(clip) 30 30 51
828                              Store 84 83
829              85:     81(ptr) AccessChain 80(clip) 30 35
830              86:    6(float) Load 85
831              87:     52(ptr) AccessChain 77(clip) 30 30 57
832                              Store 87 86
833              88:     81(ptr) AccessChain 80(clip) 30 61
834              89:    6(float) Load 88
835              90:     52(ptr) AccessChain 77(clip) 30 35 51
836                              Store 90 89
837              91:     81(ptr) AccessChain 80(clip) 30 65
838              92:    6(float) Load 91
839              93:     52(ptr) AccessChain 77(clip) 30 35 57
840                              Store 93 92
841              94:     81(ptr) AccessChain 80(clip) 35 30
842              95:    6(float) Load 94
843              96:     52(ptr) AccessChain 77(clip) 35 30 51
844                              Store 96 95
845              97:     81(ptr) AccessChain 80(clip) 35 35
846              98:    6(float) Load 97
847              99:     52(ptr) AccessChain 77(clip) 35 30 57
848                              Store 99 98
849             100:     81(ptr) AccessChain 80(clip) 35 61
850             101:    6(float) Load 100
851             102:     52(ptr) AccessChain 77(clip) 35 35 51
852                              Store 102 101
853             103:     81(ptr) AccessChain 80(clip) 35 65
854             104:    6(float) Load 103
855             105:     52(ptr) AccessChain 77(clip) 35 35 57
856                              Store 105 104
857             106:     81(ptr) AccessChain 80(clip) 61 30
858             107:    6(float) Load 106
859             108:     52(ptr) AccessChain 77(clip) 61 30 51
860                              Store 108 107
861             109:     81(ptr) AccessChain 80(clip) 61 35
862             110:    6(float) Load 109
863             111:     52(ptr) AccessChain 77(clip) 61 30 57
864                              Store 111 110
865             112:     81(ptr) AccessChain 80(clip) 61 61
866             113:    6(float) Load 112
867             114:     52(ptr) AccessChain 77(clip) 61 35 51
868                              Store 114 113
869             115:     81(ptr) AccessChain 80(clip) 61 65
870             116:    6(float) Load 115
871             117:     52(ptr) AccessChain 77(clip) 61 35 57
872                              Store 117 116
873             120:          10 Load 69(pos)
874                              Store 119(param) 120
875             122:          12 Load 73(VertexID)
876                              Store 121(param) 122
877             125:          19 Load 77(clip)
878                              Store 124(param) 125
879             126:           2 FunctionCall 26(@main(vf4[3];u1[3];struct-S-vf4-vf2[2]1;vf2[3][2];) 119(param) 121(param) 123(param) 124(param)
880             127:       17(S) Load 123(param)
881                              Store 118(OutputStream) 127
882                              Return
883                              FunctionEnd
88426(@main(vf4[3];u1[3];struct-S-vf4-vf2[2]1;vf2[3][2];):           2 Function None 21
885         22(pos):     11(ptr) FunctionParameter
886    23(VertexID):     13(ptr) FunctionParameter
88724(OutputStream):     18(ptr) FunctionParameter
888        25(clip):     20(ptr) FunctionParameter
889              27:             Label
890           28(s):     18(ptr) Variable Function
891              32:     31(ptr) AccessChain 22(pos) 30
892              33:    7(fvec4) Load 32
893              34:     31(ptr) AccessChain 28(s) 30
894                              Store 34 33
895              37:     36(ptr) AccessChain 25(clip) 30 30
896              38:   14(fvec2) Load 37
897              39:     36(ptr) AccessChain 28(s) 35 30
898                              Store 39 38
899              40:     36(ptr) AccessChain 25(clip) 30 35
900              41:   14(fvec2) Load 40
901              42:     36(ptr) AccessChain 28(s) 35 35
902                              Store 42 41
903              45:     31(ptr) AccessChain 28(s) 30
904              46:    7(fvec4) Load 45
905                              Store 44(OutputStream.pos) 46
906              53:     52(ptr) AccessChain 28(s) 35 30 51
907              54:    6(float) Load 53
908              56:     55(ptr) AccessChain 50(OutputStream.clip) 30
909                              Store 56 54
910              58:     52(ptr) AccessChain 28(s) 35 30 57
911              59:    6(float) Load 58
912              60:     55(ptr) AccessChain 50(OutputStream.clip) 35
913                              Store 60 59
914              62:     52(ptr) AccessChain 28(s) 35 35 51
915              63:    6(float) Load 62
916              64:     55(ptr) AccessChain 50(OutputStream.clip) 61
917                              Store 64 63
918              66:     52(ptr) AccessChain 28(s) 35 35 57
919              67:    6(float) Load 66
920              68:     55(ptr) AccessChain 50(OutputStream.clip) 65
921                              Store 68 67
922                              EmitVertex
923                              Return
924                              FunctionEnd
925