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