• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1hlsl.clipdistance-3.geom
2Shader version: 500
3invocations = -1
4max_vertices = 3
5input primitive = triangles
6output primitive = line_strip
70:? Sequence
80:12  Function Definition: @main(vf4[3];u1[3];struct-S-vf4-vf2-vf21;vf4[3]; ( temp void)
90:12    Function Parameters:
100:12      'pos' ( in 3-element array of 4-component vector of float)
110:12      'VertexID' ( in 3-element array of uint)
120:12      'OutputStream' ( out structure{ temp 4-component vector of float pos,  temp 2-component vector of float clip0,  temp 2-component vector of float clip1})
130:12      'clip' ( in 3-element array of 4-component vector of float)
140:?     Sequence
150:15      move second child to first child ( temp 4-component vector of float)
160:15        pos: direct index for structure ( temp 4-component vector of float)
170:15          's' ( temp structure{ temp 4-component vector of float pos,  temp 2-component vector of float clip0,  temp 2-component vector of float clip1})
180:15          Constant:
190:15            0 (const int)
200:15        direct index ( temp 4-component vector of float)
210:15          'pos' ( in 3-element array of 4-component vector of float)
220:15          Constant:
230:15            0 (const int)
240:16      move second child to first child ( temp 2-component vector of float)
250:16        clip0: direct index for structure ( temp 2-component vector of float)
260:16          's' ( temp structure{ temp 4-component vector of float pos,  temp 2-component vector of float clip0,  temp 2-component vector of float clip1})
270:16          Constant:
280:16            1 (const int)
290:16        vector swizzle ( temp 2-component vector of float)
300:16          direct index ( temp 4-component vector of float)
310:16            'clip' ( in 3-element array of 4-component vector of float)
320:16            Constant:
330:16              0 (const int)
340:16          Sequence
350:16            Constant:
360:16              0 (const int)
370:16            Constant:
380:16              1 (const int)
390:17      move second child to first child ( temp 2-component vector of float)
400:17        clip1: direct index for structure ( temp 2-component vector of float)
410:17          's' ( temp structure{ temp 4-component vector of float pos,  temp 2-component vector of float clip0,  temp 2-component vector of float clip1})
420:17          Constant:
430:17            2 (const int)
440:17        vector swizzle ( temp 2-component vector of float)
450:17          direct index ( temp 4-component vector of float)
460:17            'clip' ( in 3-element array of 4-component vector of float)
470:17            Constant:
480:17              0 (const int)
490:17          Sequence
500:17            Constant:
510:17              2 (const int)
520:17            Constant:
530:17              3 (const int)
540:19      Sequence
550:19        Sequence
560:19          move second child to first child ( temp 4-component vector of float)
570:?             'OutputStream.pos' ( out 4-component vector of float Position)
580:19            pos: direct index for structure ( temp 4-component vector of float)
590:19              's' ( temp structure{ temp 4-component vector of float pos,  temp 2-component vector of float clip0,  temp 2-component vector of float clip1})
600:19              Constant:
610:19                0 (const int)
620:?           Sequence
630:19            move second child to first child ( temp float)
640:19              direct index ( out float ClipDistance)
650:?                 'OutputStream.clip1' ( out 4-element array of float ClipDistance)
660:19                Constant:
670:19                  0 (const int)
680:19              direct index ( temp float)
690:19                clip0: direct index for structure ( temp 2-component vector of float)
700:19                  's' ( temp structure{ temp 4-component vector of float pos,  temp 2-component vector of float clip0,  temp 2-component vector of float clip1})
710:19                  Constant:
720:19                    1 (const int)
730:19                Constant:
740:19                  0 (const int)
750:19            move second child to first child ( temp float)
760:19              direct index ( out float ClipDistance)
770:?                 'OutputStream.clip1' ( out 4-element array of float ClipDistance)
780:19                Constant:
790:19                  1 (const int)
800:19              direct index ( temp float)
810:19                clip0: direct index for structure ( temp 2-component vector of float)
820:19                  's' ( temp structure{ temp 4-component vector of float pos,  temp 2-component vector of float clip0,  temp 2-component vector of float clip1})
830:19                  Constant:
840:19                    1 (const int)
850:19                Constant:
860:19                  1 (const int)
870:?           Sequence
880:19            move second child to first child ( temp float)
890:19              direct index ( out float ClipDistance)
900:?                 'OutputStream.clip1' ( out 4-element array of float ClipDistance)
910:19                Constant:
920:19                  2 (const int)
930:19              direct index ( temp float)
940:19                clip1: direct index for structure ( temp 2-component vector of float)
950:19                  's' ( temp structure{ temp 4-component vector of float pos,  temp 2-component vector of float clip0,  temp 2-component vector of float clip1})
960:19                  Constant:
970:19                    2 (const int)
980:19                Constant:
990:19                  0 (const int)
1000:19            move second child to first child ( temp float)
1010:19              direct index ( out float ClipDistance)
1020:?                 'OutputStream.clip1' ( out 4-element array of float ClipDistance)
1030:19                Constant:
1040:19                  3 (const int)
1050:19              direct index ( temp float)
1060:19                clip1: direct index for structure ( temp 2-component vector of float)
1070:19                  's' ( temp structure{ temp 4-component vector of float pos,  temp 2-component vector of float clip0,  temp 2-component vector of float clip1})
1080:19                  Constant:
1090:19                    2 (const int)
1100:19                Constant:
1110:19                  1 (const int)
1120:19        EmitVertex ( temp void)
1130:12  Function Definition: main( ( temp void)
1140:12    Function Parameters:
1150:?     Sequence
1160:12      move second child to first child ( temp 3-element array of 4-component vector of float)
1170:?         'pos' ( temp 3-element array of 4-component vector of float)
1180:?         'pos' ( in 3-element array of 4-component vector of float Position)
1190:12      move second child to first child ( temp 3-element array of uint)
1200:?         'VertexID' ( temp 3-element array of uint)
1210:?         'VertexID' (layout( location=0) in 3-element array of uint)
1220:?       Sequence
1230:12        move second child to first child ( temp float)
1240:12          direct index ( temp float)
1250:12            direct index ( temp 4-component vector of float)
1260:?               'clip' ( temp 3-element array of 4-component vector of float)
1270:12              Constant:
1280:12                0 (const int)
1290:12            Constant:
1300:12              0 (const int)
1310:12          direct index ( in float ClipDistance)
1320:12            direct index ( in 4-element array of float ClipDistance)
1330:?               'clip' ( in 3-element array of 4-element array of float ClipDistance)
1340:12              Constant:
1350:12                0 (const int)
1360:12            Constant:
1370:12              0 (const int)
1380:12        move second child to first child ( temp float)
1390:12          direct index ( temp float)
1400:12            direct index ( temp 4-component vector of float)
1410:?               'clip' ( temp 3-element array of 4-component vector of float)
1420:12              Constant:
1430:12                0 (const int)
1440:12            Constant:
1450:12              1 (const int)
1460:12          direct index ( in float ClipDistance)
1470:12            direct index ( in 4-element array of float ClipDistance)
1480:?               'clip' ( in 3-element array of 4-element array of float ClipDistance)
1490:12              Constant:
1500:12                0 (const int)
1510:12            Constant:
1520:12              1 (const int)
1530:12        move second child to first child ( temp float)
1540:12          direct index ( temp float)
1550:12            direct index ( temp 4-component vector of float)
1560:?               'clip' ( temp 3-element array of 4-component vector of float)
1570:12              Constant:
1580:12                0 (const int)
1590:12            Constant:
1600:12              2 (const int)
1610:12          direct index ( in float ClipDistance)
1620:12            direct index ( in 4-element array of float ClipDistance)
1630:?               'clip' ( in 3-element array of 4-element array of float ClipDistance)
1640:12              Constant:
1650:12                0 (const int)
1660:12            Constant:
1670:12              2 (const int)
1680:12        move second child to first child ( temp float)
1690:12          direct index ( temp float)
1700:12            direct index ( temp 4-component vector of float)
1710:?               'clip' ( temp 3-element array of 4-component vector of float)
1720:12              Constant:
1730:12                0 (const int)
1740:12            Constant:
1750:12              3 (const int)
1760:12          direct index ( in float ClipDistance)
1770:12            direct index ( in 4-element array of float ClipDistance)
1780:?               'clip' ( in 3-element array of 4-element array of float ClipDistance)
1790:12              Constant:
1800:12                0 (const int)
1810:12            Constant:
1820:12              3 (const int)
1830:12        move second child to first child ( temp float)
1840:12          direct index ( temp float)
1850:12            direct index ( temp 4-component vector of float)
1860:?               'clip' ( temp 3-element array of 4-component vector of float)
1870:12              Constant:
1880:12                1 (const int)
1890:12            Constant:
1900:12              0 (const int)
1910:12          direct index ( in float ClipDistance)
1920:12            direct index ( in 4-element array of float ClipDistance)
1930:?               'clip' ( in 3-element array of 4-element array of float ClipDistance)
1940:12              Constant:
1950:12                1 (const int)
1960:12            Constant:
1970:12              0 (const int)
1980:12        move second child to first child ( temp float)
1990:12          direct index ( temp float)
2000:12            direct index ( temp 4-component vector of float)
2010:?               'clip' ( temp 3-element array of 4-component vector of float)
2020:12              Constant:
2030:12                1 (const int)
2040:12            Constant:
2050:12              1 (const int)
2060:12          direct index ( in float ClipDistance)
2070:12            direct index ( in 4-element array of float ClipDistance)
2080:?               'clip' ( in 3-element array of 4-element array of float ClipDistance)
2090:12              Constant:
2100:12                1 (const int)
2110:12            Constant:
2120:12              1 (const int)
2130:12        move second child to first child ( temp float)
2140:12          direct index ( temp float)
2150:12            direct index ( temp 4-component vector of float)
2160:?               'clip' ( temp 3-element array of 4-component vector of float)
2170:12              Constant:
2180:12                1 (const int)
2190:12            Constant:
2200:12              2 (const int)
2210:12          direct index ( in float ClipDistance)
2220:12            direct index ( in 4-element array of float ClipDistance)
2230:?               'clip' ( in 3-element array of 4-element array of float ClipDistance)
2240:12              Constant:
2250:12                1 (const int)
2260:12            Constant:
2270:12              2 (const int)
2280:12        move second child to first child ( temp float)
2290:12          direct index ( temp float)
2300:12            direct index ( temp 4-component vector of float)
2310:?               'clip' ( temp 3-element array of 4-component vector of float)
2320:12              Constant:
2330:12                1 (const int)
2340:12            Constant:
2350:12              3 (const int)
2360:12          direct index ( in float ClipDistance)
2370:12            direct index ( in 4-element array of float ClipDistance)
2380:?               'clip' ( in 3-element array of 4-element array of float ClipDistance)
2390:12              Constant:
2400:12                1 (const int)
2410:12            Constant:
2420:12              3 (const int)
2430:12        move second child to first child ( temp float)
2440:12          direct index ( temp float)
2450:12            direct index ( temp 4-component vector of float)
2460:?               'clip' ( temp 3-element array of 4-component vector of float)
2470:12              Constant:
2480:12                2 (const int)
2490:12            Constant:
2500:12              0 (const int)
2510:12          direct index ( in float ClipDistance)
2520:12            direct index ( in 4-element array of float ClipDistance)
2530:?               'clip' ( in 3-element array of 4-element array of float ClipDistance)
2540:12              Constant:
2550:12                2 (const int)
2560:12            Constant:
2570:12              0 (const int)
2580:12        move second child to first child ( temp float)
2590:12          direct index ( temp float)
2600:12            direct index ( temp 4-component vector of float)
2610:?               'clip' ( temp 3-element array of 4-component vector of float)
2620:12              Constant:
2630:12                2 (const int)
2640:12            Constant:
2650:12              1 (const int)
2660:12          direct index ( in float ClipDistance)
2670:12            direct index ( in 4-element array of float ClipDistance)
2680:?               'clip' ( in 3-element array of 4-element array of float ClipDistance)
2690:12              Constant:
2700:12                2 (const int)
2710:12            Constant:
2720:12              1 (const int)
2730:12        move second child to first child ( temp float)
2740:12          direct index ( temp float)
2750:12            direct index ( temp 4-component vector of float)
2760:?               'clip' ( temp 3-element array of 4-component vector of float)
2770:12              Constant:
2780:12                2 (const int)
2790:12            Constant:
2800:12              2 (const int)
2810:12          direct index ( in float ClipDistance)
2820:12            direct index ( in 4-element array of float ClipDistance)
2830:?               'clip' ( in 3-element array of 4-element array of float ClipDistance)
2840:12              Constant:
2850:12                2 (const int)
2860:12            Constant:
2870:12              2 (const int)
2880:12        move second child to first child ( temp float)
2890:12          direct index ( temp float)
2900:12            direct index ( temp 4-component vector of float)
2910:?               'clip' ( temp 3-element array of 4-component vector of float)
2920:12              Constant:
2930:12                2 (const int)
2940:12            Constant:
2950:12              3 (const int)
2960:12          direct index ( in float ClipDistance)
2970:12            direct index ( in 4-element array of float ClipDistance)
2980:?               'clip' ( in 3-element array of 4-element array of float ClipDistance)
2990:12              Constant:
3000:12                2 (const int)
3010:12            Constant:
3020:12              3 (const int)
3030:12      Function Call: @main(vf4[3];u1[3];struct-S-vf4-vf2-vf21;vf4[3]; ( temp void)
3040:?         'pos' ( temp 3-element array of 4-component vector of float)
3050:?         'VertexID' ( temp 3-element array of uint)
3060:?         'OutputStream' ( temp structure{ temp 4-component vector of float pos,  temp 2-component vector of float clip0,  temp 2-component vector of float clip1})
3070:?         'clip' ( temp 3-element array of 4-component vector of float)
3080:?   Linker Objects
3090:?     'pos' ( in 3-element array of 4-component vector of float Position)
3100:?     'VertexID' (layout( location=0) in 3-element array of uint)
3110:?     'OutputStream.pos' ( out 4-component vector of float Position)
3120:?     'clip' ( in 3-element array of 4-element array of float ClipDistance)
3130:?     'OutputStream.clip1' ( out 4-element array of float ClipDistance)
314
315
316Linked geometry stage:
317
318
319Shader version: 500
320invocations = 1
321max_vertices = 3
322input primitive = triangles
323output primitive = line_strip
3240:? Sequence
3250:12  Function Definition: @main(vf4[3];u1[3];struct-S-vf4-vf2-vf21;vf4[3]; ( temp void)
3260:12    Function Parameters:
3270:12      'pos' ( in 3-element array of 4-component vector of float)
3280:12      'VertexID' ( in 3-element array of uint)
3290:12      'OutputStream' ( out structure{ temp 4-component vector of float pos,  temp 2-component vector of float clip0,  temp 2-component vector of float clip1})
3300:12      'clip' ( in 3-element array of 4-component vector of float)
3310:?     Sequence
3320:15      move second child to first child ( temp 4-component vector of float)
3330:15        pos: direct index for structure ( temp 4-component vector of float)
3340:15          's' ( temp structure{ temp 4-component vector of float pos,  temp 2-component vector of float clip0,  temp 2-component vector of float clip1})
3350:15          Constant:
3360:15            0 (const int)
3370:15        direct index ( temp 4-component vector of float)
3380:15          'pos' ( in 3-element array of 4-component vector of float)
3390:15          Constant:
3400:15            0 (const int)
3410:16      move second child to first child ( temp 2-component vector of float)
3420:16        clip0: direct index for structure ( temp 2-component vector of float)
3430:16          's' ( temp structure{ temp 4-component vector of float pos,  temp 2-component vector of float clip0,  temp 2-component vector of float clip1})
3440:16          Constant:
3450:16            1 (const int)
3460:16        vector swizzle ( temp 2-component vector of float)
3470:16          direct index ( temp 4-component vector of float)
3480:16            'clip' ( in 3-element array of 4-component vector of float)
3490:16            Constant:
3500:16              0 (const int)
3510:16          Sequence
3520:16            Constant:
3530:16              0 (const int)
3540:16            Constant:
3550:16              1 (const int)
3560:17      move second child to first child ( temp 2-component vector of float)
3570:17        clip1: direct index for structure ( temp 2-component vector of float)
3580:17          's' ( temp structure{ temp 4-component vector of float pos,  temp 2-component vector of float clip0,  temp 2-component vector of float clip1})
3590:17          Constant:
3600:17            2 (const int)
3610:17        vector swizzle ( temp 2-component vector of float)
3620:17          direct index ( temp 4-component vector of float)
3630:17            'clip' ( in 3-element array of 4-component vector of float)
3640:17            Constant:
3650:17              0 (const int)
3660:17          Sequence
3670:17            Constant:
3680:17              2 (const int)
3690:17            Constant:
3700:17              3 (const int)
3710:19      Sequence
3720:19        Sequence
3730:19          move second child to first child ( temp 4-component vector of float)
3740:?             'OutputStream.pos' ( out 4-component vector of float Position)
3750:19            pos: direct index for structure ( temp 4-component vector of float)
3760:19              's' ( temp structure{ temp 4-component vector of float pos,  temp 2-component vector of float clip0,  temp 2-component vector of float clip1})
3770:19              Constant:
3780:19                0 (const int)
3790:?           Sequence
3800:19            move second child to first child ( temp float)
3810:19              direct index ( out float ClipDistance)
3820:?                 'OutputStream.clip1' ( out 4-element array of float ClipDistance)
3830:19                Constant:
3840:19                  0 (const int)
3850:19              direct index ( temp float)
3860:19                clip0: direct index for structure ( temp 2-component vector of float)
3870:19                  's' ( temp structure{ temp 4-component vector of float pos,  temp 2-component vector of float clip0,  temp 2-component vector of float clip1})
3880:19                  Constant:
3890:19                    1 (const int)
3900:19                Constant:
3910:19                  0 (const int)
3920:19            move second child to first child ( temp float)
3930:19              direct index ( out float ClipDistance)
3940:?                 'OutputStream.clip1' ( out 4-element array of float ClipDistance)
3950:19                Constant:
3960:19                  1 (const int)
3970:19              direct index ( temp float)
3980:19                clip0: direct index for structure ( temp 2-component vector of float)
3990:19                  's' ( temp structure{ temp 4-component vector of float pos,  temp 2-component vector of float clip0,  temp 2-component vector of float clip1})
4000:19                  Constant:
4010:19                    1 (const int)
4020:19                Constant:
4030:19                  1 (const int)
4040:?           Sequence
4050:19            move second child to first child ( temp float)
4060:19              direct index ( out float ClipDistance)
4070:?                 'OutputStream.clip1' ( out 4-element array of float ClipDistance)
4080:19                Constant:
4090:19                  2 (const int)
4100:19              direct index ( temp float)
4110:19                clip1: direct index for structure ( temp 2-component vector of float)
4120:19                  's' ( temp structure{ temp 4-component vector of float pos,  temp 2-component vector of float clip0,  temp 2-component vector of float clip1})
4130:19                  Constant:
4140:19                    2 (const int)
4150:19                Constant:
4160:19                  0 (const int)
4170:19            move second child to first child ( temp float)
4180:19              direct index ( out float ClipDistance)
4190:?                 'OutputStream.clip1' ( out 4-element array of float ClipDistance)
4200:19                Constant:
4210:19                  3 (const int)
4220:19              direct index ( temp float)
4230:19                clip1: direct index for structure ( temp 2-component vector of float)
4240:19                  's' ( temp structure{ temp 4-component vector of float pos,  temp 2-component vector of float clip0,  temp 2-component vector of float clip1})
4250:19                  Constant:
4260:19                    2 (const int)
4270:19                Constant:
4280:19                  1 (const int)
4290:19        EmitVertex ( temp void)
4300:12  Function Definition: main( ( temp void)
4310:12    Function Parameters:
4320:?     Sequence
4330:12      move second child to first child ( temp 3-element array of 4-component vector of float)
4340:?         'pos' ( temp 3-element array of 4-component vector of float)
4350:?         'pos' ( in 3-element array of 4-component vector of float Position)
4360:12      move second child to first child ( temp 3-element array of uint)
4370:?         'VertexID' ( temp 3-element array of uint)
4380:?         'VertexID' (layout( location=0) in 3-element array of uint)
4390:?       Sequence
4400:12        move second child to first child ( temp float)
4410:12          direct index ( temp float)
4420:12            direct index ( temp 4-component vector of float)
4430:?               'clip' ( temp 3-element array of 4-component vector of float)
4440:12              Constant:
4450:12                0 (const int)
4460:12            Constant:
4470:12              0 (const int)
4480:12          direct index ( in float ClipDistance)
4490:12            direct index ( in 4-element array of float ClipDistance)
4500:?               'clip' ( in 3-element array of 4-element array of float ClipDistance)
4510:12              Constant:
4520:12                0 (const int)
4530:12            Constant:
4540:12              0 (const int)
4550:12        move second child to first child ( temp float)
4560:12          direct index ( temp float)
4570:12            direct index ( temp 4-component vector of float)
4580:?               'clip' ( temp 3-element array of 4-component vector of float)
4590:12              Constant:
4600:12                0 (const int)
4610:12            Constant:
4620:12              1 (const int)
4630:12          direct index ( in float ClipDistance)
4640:12            direct index ( in 4-element array of float ClipDistance)
4650:?               'clip' ( in 3-element array of 4-element array of float ClipDistance)
4660:12              Constant:
4670:12                0 (const int)
4680:12            Constant:
4690:12              1 (const int)
4700:12        move second child to first child ( temp float)
4710:12          direct index ( temp float)
4720:12            direct index ( temp 4-component vector of float)
4730:?               'clip' ( temp 3-element array of 4-component vector of float)
4740:12              Constant:
4750:12                0 (const int)
4760:12            Constant:
4770:12              2 (const int)
4780:12          direct index ( in float ClipDistance)
4790:12            direct index ( in 4-element array of float ClipDistance)
4800:?               'clip' ( in 3-element array of 4-element array of float ClipDistance)
4810:12              Constant:
4820:12                0 (const int)
4830:12            Constant:
4840:12              2 (const int)
4850:12        move second child to first child ( temp float)
4860:12          direct index ( temp float)
4870:12            direct index ( temp 4-component vector of float)
4880:?               'clip' ( temp 3-element array of 4-component vector of float)
4890:12              Constant:
4900:12                0 (const int)
4910:12            Constant:
4920:12              3 (const int)
4930:12          direct index ( in float ClipDistance)
4940:12            direct index ( in 4-element array of float ClipDistance)
4950:?               'clip' ( in 3-element array of 4-element array of float ClipDistance)
4960:12              Constant:
4970:12                0 (const int)
4980:12            Constant:
4990:12              3 (const int)
5000:12        move second child to first child ( temp float)
5010:12          direct index ( temp float)
5020:12            direct index ( temp 4-component vector of float)
5030:?               'clip' ( temp 3-element array of 4-component vector of float)
5040:12              Constant:
5050:12                1 (const int)
5060:12            Constant:
5070:12              0 (const int)
5080:12          direct index ( in float ClipDistance)
5090:12            direct index ( in 4-element array of float ClipDistance)
5100:?               'clip' ( in 3-element array of 4-element array of float ClipDistance)
5110:12              Constant:
5120:12                1 (const int)
5130:12            Constant:
5140:12              0 (const int)
5150:12        move second child to first child ( temp float)
5160:12          direct index ( temp float)
5170:12            direct index ( temp 4-component vector of float)
5180:?               'clip' ( temp 3-element array of 4-component vector of float)
5190:12              Constant:
5200:12                1 (const int)
5210:12            Constant:
5220:12              1 (const int)
5230:12          direct index ( in float ClipDistance)
5240:12            direct index ( in 4-element array of float ClipDistance)
5250:?               'clip' ( in 3-element array of 4-element array of float ClipDistance)
5260:12              Constant:
5270:12                1 (const int)
5280:12            Constant:
5290:12              1 (const int)
5300:12        move second child to first child ( temp float)
5310:12          direct index ( temp float)
5320:12            direct index ( temp 4-component vector of float)
5330:?               'clip' ( temp 3-element array of 4-component vector of float)
5340:12              Constant:
5350:12                1 (const int)
5360:12            Constant:
5370:12              2 (const int)
5380:12          direct index ( in float ClipDistance)
5390:12            direct index ( in 4-element array of float ClipDistance)
5400:?               'clip' ( in 3-element array of 4-element array of float ClipDistance)
5410:12              Constant:
5420:12                1 (const int)
5430:12            Constant:
5440:12              2 (const int)
5450:12        move second child to first child ( temp float)
5460:12          direct index ( temp float)
5470:12            direct index ( temp 4-component vector of float)
5480:?               'clip' ( temp 3-element array of 4-component vector of float)
5490:12              Constant:
5500:12                1 (const int)
5510:12            Constant:
5520:12              3 (const int)
5530:12          direct index ( in float ClipDistance)
5540:12            direct index ( in 4-element array of float ClipDistance)
5550:?               'clip' ( in 3-element array of 4-element array of float ClipDistance)
5560:12              Constant:
5570:12                1 (const int)
5580:12            Constant:
5590:12              3 (const int)
5600:12        move second child to first child ( temp float)
5610:12          direct index ( temp float)
5620:12            direct index ( temp 4-component vector of float)
5630:?               'clip' ( temp 3-element array of 4-component vector of float)
5640:12              Constant:
5650:12                2 (const int)
5660:12            Constant:
5670:12              0 (const int)
5680:12          direct index ( in float ClipDistance)
5690:12            direct index ( in 4-element array of float ClipDistance)
5700:?               'clip' ( in 3-element array of 4-element array of float ClipDistance)
5710:12              Constant:
5720:12                2 (const int)
5730:12            Constant:
5740:12              0 (const int)
5750:12        move second child to first child ( temp float)
5760:12          direct index ( temp float)
5770:12            direct index ( temp 4-component vector of float)
5780:?               'clip' ( temp 3-element array of 4-component vector of float)
5790:12              Constant:
5800:12                2 (const int)
5810:12            Constant:
5820:12              1 (const int)
5830:12          direct index ( in float ClipDistance)
5840:12            direct index ( in 4-element array of float ClipDistance)
5850:?               'clip' ( in 3-element array of 4-element array of float ClipDistance)
5860:12              Constant:
5870:12                2 (const int)
5880:12            Constant:
5890:12              1 (const int)
5900:12        move second child to first child ( temp float)
5910:12          direct index ( temp float)
5920:12            direct index ( temp 4-component vector of float)
5930:?               'clip' ( temp 3-element array of 4-component vector of float)
5940:12              Constant:
5950:12                2 (const int)
5960:12            Constant:
5970:12              2 (const int)
5980:12          direct index ( in float ClipDistance)
5990:12            direct index ( in 4-element array of float ClipDistance)
6000:?               'clip' ( in 3-element array of 4-element array of float ClipDistance)
6010:12              Constant:
6020:12                2 (const int)
6030:12            Constant:
6040:12              2 (const int)
6050:12        move second child to first child ( temp float)
6060:12          direct index ( temp float)
6070:12            direct index ( temp 4-component vector of float)
6080:?               'clip' ( temp 3-element array of 4-component vector of float)
6090:12              Constant:
6100:12                2 (const int)
6110:12            Constant:
6120:12              3 (const int)
6130:12          direct index ( in float ClipDistance)
6140:12            direct index ( in 4-element array of float ClipDistance)
6150:?               'clip' ( in 3-element array of 4-element array of float ClipDistance)
6160:12              Constant:
6170:12                2 (const int)
6180:12            Constant:
6190:12              3 (const int)
6200:12      Function Call: @main(vf4[3];u1[3];struct-S-vf4-vf2-vf21;vf4[3]; ( temp void)
6210:?         'pos' ( temp 3-element array of 4-component vector of float)
6220:?         'VertexID' ( temp 3-element array of uint)
6230:?         'OutputStream' ( temp structure{ temp 4-component vector of float pos,  temp 2-component vector of float clip0,  temp 2-component vector of float clip1})
6240:?         'clip' ( temp 3-element array of 4-component vector of float)
6250:?   Linker Objects
6260:?     'pos' ( in 3-element array of 4-component vector of float Position)
6270:?     'VertexID' (layout( location=0) in 3-element array of uint)
6280:?     'OutputStream.pos' ( out 4-component vector of float Position)
6290:?     'clip' ( in 3-element array of 4-element array of float ClipDistance)
6300:?     'OutputStream.clip1' ( out 4-element array of float ClipDistance)
631
632// Module Version 10000
633// Generated by (magic number): 8000a
634// Id's are bound by 127
635
636                              Capability Geometry
637                              Capability ClipDistance
638               1:             ExtInstImport  "GLSL.std.450"
639                              MemoryModel Logical GLSL450
640                              EntryPoint Geometry 4  "main" 43 49 69 73 78
641                              ExecutionMode 4 Triangles
642                              ExecutionMode 4 Invocations 1
643                              ExecutionMode 4 OutputLineStrip
644                              ExecutionMode 4 OutputVertices 3
645                              Source HLSL 500
646                              Name 4  "main"
647                              Name 15  "S"
648                              MemberName 15(S) 0  "pos"
649                              MemberName 15(S) 1  "clip0"
650                              MemberName 15(S) 2  "clip1"
651                              Name 22  "@main(vf4[3];u1[3];struct-S-vf4-vf2-vf21;vf4[3];"
652                              Name 18  "pos"
653                              Name 19  "VertexID"
654                              Name 20  "OutputStream"
655                              Name 21  "clip"
656                              Name 24  "s"
657                              Name 43  "OutputStream.pos"
658                              Name 49  "OutputStream.clip1"
659                              Name 67  "pos"
660                              Name 69  "pos"
661                              Name 71  "VertexID"
662                              Name 73  "VertexID"
663                              Name 75  "clip"
664                              Name 78  "clip"
665                              Name 117  "OutputStream"
666                              Name 118  "param"
667                              Name 120  "param"
668                              Name 122  "param"
669                              Name 123  "param"
670                              Decorate 43(OutputStream.pos) BuiltIn Position
671                              Decorate 49(OutputStream.clip1) BuiltIn ClipDistance
672                              Decorate 69(pos) BuiltIn Position
673                              Decorate 73(VertexID) Location 0
674                              Decorate 78(clip) BuiltIn ClipDistance
675               2:             TypeVoid
676               3:             TypeFunction 2
677               6:             TypeFloat 32
678               7:             TypeVector 6(float) 4
679               8:             TypeInt 32 0
680               9:      8(int) Constant 3
681              10:             TypeArray 7(fvec4) 9
682              11:             TypePointer Function 10
683              12:             TypeArray 8(int) 9
684              13:             TypePointer Function 12
685              14:             TypeVector 6(float) 2
686           15(S):             TypeStruct 7(fvec4) 14(fvec2) 14(fvec2)
687              16:             TypePointer Function 15(S)
688              17:             TypeFunction 2 11(ptr) 13(ptr) 16(ptr) 11(ptr)
689              25:             TypeInt 32 1
690              26:     25(int) Constant 0
691              27:             TypePointer Function 7(fvec4)
692              31:     25(int) Constant 1
693              35:             TypePointer Function 14(fvec2)
694              37:     25(int) Constant 2
695              42:             TypePointer Output 7(fvec4)
69643(OutputStream.pos):     42(ptr) Variable Output
697              46:      8(int) Constant 4
698              47:             TypeArray 6(float) 46
699              48:             TypePointer Output 47
70049(OutputStream.clip1):     48(ptr) Variable Output
701              50:      8(int) Constant 0
702              51:             TypePointer Function 6(float)
703              54:             TypePointer Output 6(float)
704              56:      8(int) Constant 1
705              63:     25(int) Constant 3
706              68:             TypePointer Input 10
707         69(pos):     68(ptr) Variable Input
708              72:             TypePointer Input 12
709    73(VertexID):     72(ptr) Variable Input
710              76:             TypeArray 47 9
711              77:             TypePointer Input 76
712        78(clip):     77(ptr) Variable Input
713              79:             TypePointer Input 6(float)
714              88:      8(int) Constant 2
715         4(main):           2 Function None 3
716               5:             Label
717         67(pos):     11(ptr) Variable Function
718    71(VertexID):     13(ptr) Variable Function
719        75(clip):     11(ptr) Variable Function
720117(OutputStream):     16(ptr) Variable Function
721      118(param):     11(ptr) Variable Function
722      120(param):     13(ptr) Variable Function
723      122(param):     16(ptr) Variable Function
724      123(param):     11(ptr) Variable Function
725              70:          10 Load 69(pos)
726                              Store 67(pos) 70
727              74:          12 Load 73(VertexID)
728                              Store 71(VertexID) 74
729              80:     79(ptr) AccessChain 78(clip) 26 26
730              81:    6(float) Load 80
731              82:     51(ptr) AccessChain 75(clip) 26 50
732                              Store 82 81
733              83:     79(ptr) AccessChain 78(clip) 26 31
734              84:    6(float) Load 83
735              85:     51(ptr) AccessChain 75(clip) 26 56
736                              Store 85 84
737              86:     79(ptr) AccessChain 78(clip) 26 37
738              87:    6(float) Load 86
739              89:     51(ptr) AccessChain 75(clip) 26 88
740                              Store 89 87
741              90:     79(ptr) AccessChain 78(clip) 26 63
742              91:    6(float) Load 90
743              92:     51(ptr) AccessChain 75(clip) 26 9
744                              Store 92 91
745              93:     79(ptr) AccessChain 78(clip) 31 26
746              94:    6(float) Load 93
747              95:     51(ptr) AccessChain 75(clip) 31 50
748                              Store 95 94
749              96:     79(ptr) AccessChain 78(clip) 31 31
750              97:    6(float) Load 96
751              98:     51(ptr) AccessChain 75(clip) 31 56
752                              Store 98 97
753              99:     79(ptr) AccessChain 78(clip) 31 37
754             100:    6(float) Load 99
755             101:     51(ptr) AccessChain 75(clip) 31 88
756                              Store 101 100
757             102:     79(ptr) AccessChain 78(clip) 31 63
758             103:    6(float) Load 102
759             104:     51(ptr) AccessChain 75(clip) 31 9
760                              Store 104 103
761             105:     79(ptr) AccessChain 78(clip) 37 26
762             106:    6(float) Load 105
763             107:     51(ptr) AccessChain 75(clip) 37 50
764                              Store 107 106
765             108:     79(ptr) AccessChain 78(clip) 37 31
766             109:    6(float) Load 108
767             110:     51(ptr) AccessChain 75(clip) 37 56
768                              Store 110 109
769             111:     79(ptr) AccessChain 78(clip) 37 37
770             112:    6(float) Load 111
771             113:     51(ptr) AccessChain 75(clip) 37 88
772                              Store 113 112
773             114:     79(ptr) AccessChain 78(clip) 37 63
774             115:    6(float) Load 114
775             116:     51(ptr) AccessChain 75(clip) 37 9
776                              Store 116 115
777             119:          10 Load 67(pos)
778                              Store 118(param) 119
779             121:          12 Load 71(VertexID)
780                              Store 120(param) 121
781             124:          10 Load 75(clip)
782                              Store 123(param) 124
783             125:           2 FunctionCall 22(@main(vf4[3];u1[3];struct-S-vf4-vf2-vf21;vf4[3];) 118(param) 120(param) 122(param) 123(param)
784             126:       15(S) Load 122(param)
785                              Store 117(OutputStream) 126
786                              Return
787                              FunctionEnd
78822(@main(vf4[3];u1[3];struct-S-vf4-vf2-vf21;vf4[3];):           2 Function None 17
789         18(pos):     11(ptr) FunctionParameter
790    19(VertexID):     13(ptr) FunctionParameter
79120(OutputStream):     16(ptr) FunctionParameter
792        21(clip):     11(ptr) FunctionParameter
793              23:             Label
794           24(s):     16(ptr) Variable Function
795              28:     27(ptr) AccessChain 18(pos) 26
796              29:    7(fvec4) Load 28
797              30:     27(ptr) AccessChain 24(s) 26
798                              Store 30 29
799              32:     27(ptr) AccessChain 21(clip) 26
800              33:    7(fvec4) Load 32
801              34:   14(fvec2) VectorShuffle 33 33 0 1
802              36:     35(ptr) AccessChain 24(s) 31
803                              Store 36 34
804              38:     27(ptr) AccessChain 21(clip) 26
805              39:    7(fvec4) Load 38
806              40:   14(fvec2) VectorShuffle 39 39 2 3
807              41:     35(ptr) AccessChain 24(s) 37
808                              Store 41 40
809              44:     27(ptr) AccessChain 24(s) 26
810              45:    7(fvec4) Load 44
811                              Store 43(OutputStream.pos) 45
812              52:     51(ptr) AccessChain 24(s) 31 50
813              53:    6(float) Load 52
814              55:     54(ptr) AccessChain 49(OutputStream.clip1) 26
815                              Store 55 53
816              57:     51(ptr) AccessChain 24(s) 31 56
817              58:    6(float) Load 57
818              59:     54(ptr) AccessChain 49(OutputStream.clip1) 31
819                              Store 59 58
820              60:     51(ptr) AccessChain 24(s) 37 50
821              61:    6(float) Load 60
822              62:     54(ptr) AccessChain 49(OutputStream.clip1) 37
823                              Store 62 61
824              64:     51(ptr) AccessChain 24(s) 37 56
825              65:    6(float) Load 64
826              66:     54(ptr) AccessChain 49(OutputStream.clip1) 63
827                              Store 66 65
828                              EmitVertex
829                              Return
830                              FunctionEnd
831