• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1hlsl.clipdistance-1.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-vf21;vf4[3]; ( 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-component vector of float clip})
130:11      'clip' ( in 3-element array of 4-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-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        clip: direct index for structure ( temp 2-component vector of float)
260:15          's' ( temp structure{ temp 4-component vector of float pos,  temp 2-component vector of float clip})
270:15          Constant:
280:15            1 (const int)
290:15        vector swizzle ( temp 2-component vector of float)
300:15          direct index ( temp 4-component vector of float)
310:15            'clip' ( in 3-element array of 4-component vector of float)
320:15            Constant:
330:15              0 (const int)
340:15          Sequence
350:15            Constant:
360:15              0 (const int)
370:15            Constant:
380:15              1 (const int)
390:17      Sequence
400:17        Sequence
410:17          move second child to first child ( temp 4-component vector of float)
420:?             'OutputStream.pos' ( out 4-component vector of float Position)
430:17            pos: direct index for structure ( temp 4-component vector of float)
440:17              's' ( temp structure{ temp 4-component vector of float pos,  temp 2-component vector of float clip})
450:17              Constant:
460:17                0 (const int)
470:?           Sequence
480:17            move second child to first child ( temp float)
490:17              direct index ( out float ClipDistance)
500:?                 'OutputStream.clip' ( out 2-element array of float ClipDistance)
510:17                Constant:
520:17                  0 (const int)
530:17              direct index ( temp float)
540:17                clip: direct index for structure ( temp 2-component vector of float)
550:17                  's' ( temp structure{ temp 4-component vector of float pos,  temp 2-component vector of float clip})
560:17                  Constant:
570:17                    1 (const int)
580:17                Constant:
590:17                  0 (const int)
600:17            move second child to first child ( temp float)
610:17              direct index ( out float ClipDistance)
620:?                 'OutputStream.clip' ( out 2-element array of float ClipDistance)
630:17                Constant:
640:17                  1 (const int)
650:17              direct index ( temp float)
660:17                clip: direct index for structure ( temp 2-component vector of float)
670:17                  's' ( temp structure{ temp 4-component vector of float pos,  temp 2-component vector of float clip})
680:17                  Constant:
690:17                    1 (const int)
700:17                Constant:
710:17                  1 (const int)
720:17        EmitVertex ( temp void)
730:11  Function Definition: main( ( temp void)
740:11    Function Parameters:
750:?     Sequence
760:11      move second child to first child ( temp 3-element array of 4-component vector of float)
770:?         'pos' ( temp 3-element array of 4-component vector of float)
780:?         'pos' ( in 3-element array of 4-component vector of float Position)
790:11      move second child to first child ( temp 3-element array of uint)
800:?         'VertexID' ( temp 3-element array of uint)
810:?         'VertexID' (layout( location=0) in 3-element array of uint)
820:?       Sequence
830:11        move second child to first child ( temp float)
840:11          direct index ( temp float)
850:11            direct index ( temp 4-component vector of float)
860:?               'clip' ( temp 3-element array of 4-component vector of float)
870:11              Constant:
880:11                0 (const int)
890:11            Constant:
900:11              0 (const int)
910:11          direct index ( in float ClipDistance)
920:11            direct index ( in 4-element array of float ClipDistance)
930:?               'clip' ( in 3-element array of 4-element array of float ClipDistance)
940:11              Constant:
950:11                0 (const int)
960:11            Constant:
970:11              0 (const int)
980:11        move second child to first child ( temp float)
990:11          direct index ( temp float)
1000:11            direct index ( temp 4-component vector of float)
1010:?               'clip' ( temp 3-element array of 4-component vector of float)
1020:11              Constant:
1030:11                0 (const int)
1040:11            Constant:
1050:11              1 (const int)
1060:11          direct index ( in float ClipDistance)
1070:11            direct index ( in 4-element array of float ClipDistance)
1080:?               'clip' ( in 3-element array of 4-element array of float ClipDistance)
1090:11              Constant:
1100:11                0 (const int)
1110:11            Constant:
1120:11              1 (const int)
1130:11        move second child to first child ( temp float)
1140:11          direct index ( temp float)
1150:11            direct index ( temp 4-component vector of float)
1160:?               'clip' ( temp 3-element array of 4-component vector of float)
1170:11              Constant:
1180:11                0 (const int)
1190:11            Constant:
1200:11              2 (const int)
1210:11          direct index ( in float ClipDistance)
1220:11            direct index ( in 4-element array of float ClipDistance)
1230:?               'clip' ( in 3-element array of 4-element array of float ClipDistance)
1240:11              Constant:
1250:11                0 (const int)
1260:11            Constant:
1270:11              2 (const int)
1280:11        move second child to first child ( temp float)
1290:11          direct index ( temp float)
1300:11            direct index ( temp 4-component vector of float)
1310:?               'clip' ( temp 3-element array of 4-component vector of float)
1320:11              Constant:
1330:11                0 (const int)
1340:11            Constant:
1350:11              3 (const int)
1360:11          direct index ( in float ClipDistance)
1370:11            direct index ( in 4-element array of float ClipDistance)
1380:?               'clip' ( in 3-element array of 4-element array of float ClipDistance)
1390:11              Constant:
1400:11                0 (const int)
1410:11            Constant:
1420:11              3 (const int)
1430:11        move second child to first child ( temp float)
1440:11          direct index ( temp float)
1450:11            direct index ( temp 4-component vector of float)
1460:?               'clip' ( temp 3-element array of 4-component vector of float)
1470:11              Constant:
1480:11                1 (const int)
1490:11            Constant:
1500:11              0 (const int)
1510:11          direct index ( in float ClipDistance)
1520:11            direct index ( in 4-element array of float ClipDistance)
1530:?               'clip' ( in 3-element array of 4-element array of float ClipDistance)
1540:11              Constant:
1550:11                1 (const int)
1560:11            Constant:
1570:11              0 (const int)
1580:11        move second child to first child ( temp float)
1590:11          direct index ( temp float)
1600:11            direct index ( temp 4-component vector of float)
1610:?               'clip' ( temp 3-element array of 4-component vector of float)
1620:11              Constant:
1630:11                1 (const int)
1640:11            Constant:
1650:11              1 (const int)
1660:11          direct index ( in float ClipDistance)
1670:11            direct index ( in 4-element array of float ClipDistance)
1680:?               'clip' ( in 3-element array of 4-element array of float ClipDistance)
1690:11              Constant:
1700:11                1 (const int)
1710:11            Constant:
1720:11              1 (const int)
1730:11        move second child to first child ( temp float)
1740:11          direct index ( temp float)
1750:11            direct index ( temp 4-component vector of float)
1760:?               'clip' ( temp 3-element array of 4-component vector of float)
1770:11              Constant:
1780:11                1 (const int)
1790:11            Constant:
1800:11              2 (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                1 (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 4-component vector of float)
1910:?               'clip' ( temp 3-element array of 4-component vector of float)
1920:11              Constant:
1930:11                1 (const int)
1940:11            Constant:
1950:11              3 (const int)
1960:11          direct index ( in float ClipDistance)
1970:11            direct index ( in 4-element array of float ClipDistance)
1980:?               'clip' ( in 3-element array of 4-element array of float ClipDistance)
1990:11              Constant:
2000:11                1 (const int)
2010:11            Constant:
2020:11              3 (const int)
2030:11        move second child to first child ( temp float)
2040:11          direct index ( temp float)
2050:11            direct index ( temp 4-component vector of float)
2060:?               'clip' ( temp 3-element array of 4-component vector of float)
2070:11              Constant:
2080:11                2 (const int)
2090:11            Constant:
2100:11              0 (const int)
2110:11          direct index ( in float ClipDistance)
2120:11            direct index ( in 4-element array of float ClipDistance)
2130:?               'clip' ( in 3-element array of 4-element array of float ClipDistance)
2140:11              Constant:
2150:11                2 (const int)
2160:11            Constant:
2170:11              0 (const int)
2180:11        move second child to first child ( temp float)
2190:11          direct index ( temp float)
2200:11            direct index ( temp 4-component vector of float)
2210:?               'clip' ( temp 3-element array of 4-component vector of float)
2220:11              Constant:
2230:11                2 (const int)
2240:11            Constant:
2250:11              1 (const int)
2260:11          direct index ( in float ClipDistance)
2270:11            direct index ( in 4-element array of float ClipDistance)
2280:?               'clip' ( in 3-element array of 4-element array of float ClipDistance)
2290:11              Constant:
2300:11                2 (const int)
2310:11            Constant:
2320:11              1 (const int)
2330:11        move second child to first child ( temp float)
2340:11          direct index ( temp float)
2350:11            direct index ( temp 4-component vector of float)
2360:?               'clip' ( temp 3-element array of 4-component vector of float)
2370:11              Constant:
2380:11                2 (const int)
2390:11            Constant:
2400:11              2 (const int)
2410:11          direct index ( in float ClipDistance)
2420:11            direct index ( in 4-element array of float ClipDistance)
2430:?               'clip' ( in 3-element array of 4-element array of float ClipDistance)
2440:11              Constant:
2450:11                2 (const int)
2460:11            Constant:
2470:11              2 (const int)
2480:11        move second child to first child ( temp float)
2490:11          direct index ( temp float)
2500:11            direct index ( temp 4-component vector of float)
2510:?               'clip' ( temp 3-element array of 4-component vector of float)
2520:11              Constant:
2530:11                2 (const int)
2540:11            Constant:
2550:11              3 (const int)
2560:11          direct index ( in float ClipDistance)
2570:11            direct index ( in 4-element array of float ClipDistance)
2580:?               'clip' ( in 3-element array of 4-element array of float ClipDistance)
2590:11              Constant:
2600:11                2 (const int)
2610:11            Constant:
2620:11              3 (const int)
2630:11      Function Call: @main(vf4[3];u1[3];struct-S-vf4-vf21;vf4[3]; ( temp void)
2640:?         'pos' ( temp 3-element array of 4-component vector of float)
2650:?         'VertexID' ( temp 3-element array of uint)
2660:?         'OutputStream' ( temp structure{ temp 4-component vector of float pos,  temp 2-component vector of float clip})
2670:?         'clip' ( temp 3-element array of 4-component vector of float)
2680:?   Linker Objects
2690:?     'pos' ( in 3-element array of 4-component vector of float Position)
2700:?     'VertexID' (layout( location=0) in 3-element array of uint)
2710:?     'OutputStream.pos' ( out 4-component vector of float Position)
2720:?     'clip' ( in 3-element array of 4-element array of float ClipDistance)
2730:?     'OutputStream.clip' ( out 2-element array of float ClipDistance)
274
275
276Linked geometry stage:
277
278
279Shader version: 500
280invocations = 1
281max_vertices = 3
282input primitive = triangles
283output primitive = line_strip
2840:? Sequence
2850:11  Function Definition: @main(vf4[3];u1[3];struct-S-vf4-vf21;vf4[3]; ( temp void)
2860:11    Function Parameters:
2870:11      'pos' ( in 3-element array of 4-component vector of float)
2880:11      'VertexID' ( in 3-element array of uint)
2890:11      'OutputStream' ( out structure{ temp 4-component vector of float pos,  temp 2-component vector of float clip})
2900:11      'clip' ( in 3-element array of 4-component vector of float)
2910:?     Sequence
2920:14      move second child to first child ( temp 4-component vector of float)
2930:14        pos: direct index for structure ( temp 4-component vector of float)
2940:14          's' ( temp structure{ temp 4-component vector of float pos,  temp 2-component vector of float clip})
2950:14          Constant:
2960:14            0 (const int)
2970:14        direct index ( temp 4-component vector of float)
2980:14          'pos' ( in 3-element array of 4-component vector of float)
2990:14          Constant:
3000:14            0 (const int)
3010:15      move second child to first child ( temp 2-component vector of float)
3020:15        clip: direct index for structure ( temp 2-component vector of float)
3030:15          's' ( temp structure{ temp 4-component vector of float pos,  temp 2-component vector of float clip})
3040:15          Constant:
3050:15            1 (const int)
3060:15        vector swizzle ( temp 2-component vector of float)
3070:15          direct index ( temp 4-component vector of float)
3080:15            'clip' ( in 3-element array of 4-component vector of float)
3090:15            Constant:
3100:15              0 (const int)
3110:15          Sequence
3120:15            Constant:
3130:15              0 (const int)
3140:15            Constant:
3150:15              1 (const int)
3160:17      Sequence
3170:17        Sequence
3180:17          move second child to first child ( temp 4-component vector of float)
3190:?             'OutputStream.pos' ( out 4-component vector of float Position)
3200:17            pos: direct index for structure ( temp 4-component vector of float)
3210:17              's' ( temp structure{ temp 4-component vector of float pos,  temp 2-component vector of float clip})
3220:17              Constant:
3230:17                0 (const int)
3240:?           Sequence
3250:17            move second child to first child ( temp float)
3260:17              direct index ( out float ClipDistance)
3270:?                 'OutputStream.clip' ( out 2-element array of float ClipDistance)
3280:17                Constant:
3290:17                  0 (const int)
3300:17              direct index ( temp float)
3310:17                clip: direct index for structure ( temp 2-component vector of float)
3320:17                  's' ( temp structure{ temp 4-component vector of float pos,  temp 2-component vector of float clip})
3330:17                  Constant:
3340:17                    1 (const int)
3350:17                Constant:
3360:17                  0 (const int)
3370:17            move second child to first child ( temp float)
3380:17              direct index ( out float ClipDistance)
3390:?                 'OutputStream.clip' ( out 2-element array of float ClipDistance)
3400:17                Constant:
3410:17                  1 (const int)
3420:17              direct index ( temp float)
3430:17                clip: direct index for structure ( temp 2-component vector of float)
3440:17                  's' ( temp structure{ temp 4-component vector of float pos,  temp 2-component vector of float clip})
3450:17                  Constant:
3460:17                    1 (const int)
3470:17                Constant:
3480:17                  1 (const int)
3490:17        EmitVertex ( temp void)
3500:11  Function Definition: main( ( temp void)
3510:11    Function Parameters:
3520:?     Sequence
3530:11      move second child to first child ( temp 3-element array of 4-component vector of float)
3540:?         'pos' ( temp 3-element array of 4-component vector of float)
3550:?         'pos' ( in 3-element array of 4-component vector of float Position)
3560:11      move second child to first child ( temp 3-element array of uint)
3570:?         'VertexID' ( temp 3-element array of uint)
3580:?         'VertexID' (layout( location=0) in 3-element array of uint)
3590:?       Sequence
3600:11        move second child to first child ( temp float)
3610:11          direct index ( temp float)
3620:11            direct index ( temp 4-component vector of float)
3630:?               'clip' ( temp 3-element array of 4-component vector of float)
3640:11              Constant:
3650:11                0 (const int)
3660:11            Constant:
3670:11              0 (const int)
3680:11          direct index ( in float ClipDistance)
3690:11            direct index ( in 4-element array of float ClipDistance)
3700:?               'clip' ( in 3-element array of 4-element array of float ClipDistance)
3710:11              Constant:
3720:11                0 (const int)
3730:11            Constant:
3740:11              0 (const int)
3750:11        move second child to first child ( temp float)
3760:11          direct index ( temp float)
3770:11            direct index ( temp 4-component vector of float)
3780:?               'clip' ( temp 3-element array of 4-component vector of float)
3790:11              Constant:
3800:11                0 (const int)
3810:11            Constant:
3820:11              1 (const int)
3830:11          direct index ( in float ClipDistance)
3840:11            direct index ( in 4-element array of float ClipDistance)
3850:?               'clip' ( in 3-element array of 4-element array of float ClipDistance)
3860:11              Constant:
3870:11                0 (const int)
3880:11            Constant:
3890:11              1 (const int)
3900:11        move second child to first child ( temp float)
3910:11          direct index ( temp float)
3920:11            direct index ( temp 4-component vector of float)
3930:?               'clip' ( temp 3-element array of 4-component vector of float)
3940:11              Constant:
3950:11                0 (const int)
3960:11            Constant:
3970:11              2 (const int)
3980:11          direct index ( in float ClipDistance)
3990:11            direct index ( in 4-element array of float ClipDistance)
4000:?               'clip' ( in 3-element array of 4-element array of float ClipDistance)
4010:11              Constant:
4020:11                0 (const int)
4030:11            Constant:
4040:11              2 (const int)
4050:11        move second child to first child ( temp float)
4060:11          direct index ( temp float)
4070:11            direct index ( temp 4-component vector of float)
4080:?               'clip' ( temp 3-element array of 4-component vector of float)
4090:11              Constant:
4100:11                0 (const int)
4110:11            Constant:
4120:11              3 (const int)
4130:11          direct index ( in float ClipDistance)
4140:11            direct index ( in 4-element array of float ClipDistance)
4150:?               'clip' ( in 3-element array of 4-element array of float ClipDistance)
4160:11              Constant:
4170:11                0 (const int)
4180:11            Constant:
4190:11              3 (const int)
4200:11        move second child to first child ( temp float)
4210:11          direct index ( temp float)
4220:11            direct index ( temp 4-component vector of float)
4230:?               'clip' ( temp 3-element array of 4-component vector of float)
4240:11              Constant:
4250:11                1 (const int)
4260:11            Constant:
4270:11              0 (const int)
4280:11          direct index ( in float ClipDistance)
4290:11            direct index ( in 4-element array of float ClipDistance)
4300:?               'clip' ( in 3-element array of 4-element array of float ClipDistance)
4310:11              Constant:
4320:11                1 (const int)
4330:11            Constant:
4340:11              0 (const int)
4350:11        move second child to first child ( temp float)
4360:11          direct index ( temp float)
4370:11            direct index ( temp 4-component vector of float)
4380:?               'clip' ( temp 3-element array of 4-component vector of float)
4390:11              Constant:
4400:11                1 (const int)
4410:11            Constant:
4420:11              1 (const int)
4430:11          direct index ( in float ClipDistance)
4440:11            direct index ( in 4-element array of float ClipDistance)
4450:?               'clip' ( in 3-element array of 4-element array of float ClipDistance)
4460:11              Constant:
4470:11                1 (const int)
4480:11            Constant:
4490:11              1 (const int)
4500:11        move second child to first child ( temp float)
4510:11          direct index ( temp float)
4520:11            direct index ( temp 4-component vector of float)
4530:?               'clip' ( temp 3-element array of 4-component vector of float)
4540:11              Constant:
4550:11                1 (const int)
4560:11            Constant:
4570:11              2 (const int)
4580:11          direct index ( in float ClipDistance)
4590:11            direct index ( in 4-element array of float ClipDistance)
4600:?               'clip' ( in 3-element array of 4-element array of float ClipDistance)
4610:11              Constant:
4620:11                1 (const int)
4630:11            Constant:
4640:11              2 (const int)
4650:11        move second child to first child ( temp float)
4660:11          direct index ( temp float)
4670:11            direct index ( temp 4-component vector of float)
4680:?               'clip' ( temp 3-element array of 4-component vector of float)
4690:11              Constant:
4700:11                1 (const int)
4710:11            Constant:
4720:11              3 (const int)
4730:11          direct index ( in float ClipDistance)
4740:11            direct index ( in 4-element array of float ClipDistance)
4750:?               'clip' ( in 3-element array of 4-element array of float ClipDistance)
4760:11              Constant:
4770:11                1 (const int)
4780:11            Constant:
4790:11              3 (const int)
4800:11        move second child to first child ( temp float)
4810:11          direct index ( temp float)
4820:11            direct index ( temp 4-component vector of float)
4830:?               'clip' ( temp 3-element array of 4-component vector of float)
4840:11              Constant:
4850:11                2 (const int)
4860:11            Constant:
4870:11              0 (const int)
4880:11          direct index ( in float ClipDistance)
4890:11            direct index ( in 4-element array of float ClipDistance)
4900:?               'clip' ( in 3-element array of 4-element array of float ClipDistance)
4910:11              Constant:
4920:11                2 (const int)
4930:11            Constant:
4940:11              0 (const int)
4950:11        move second child to first child ( temp float)
4960:11          direct index ( temp float)
4970:11            direct index ( temp 4-component vector of float)
4980:?               'clip' ( temp 3-element array of 4-component vector of float)
4990:11              Constant:
5000:11                2 (const int)
5010:11            Constant:
5020:11              1 (const int)
5030:11          direct index ( in float ClipDistance)
5040:11            direct index ( in 4-element array of float ClipDistance)
5050:?               'clip' ( in 3-element array of 4-element array of float ClipDistance)
5060:11              Constant:
5070:11                2 (const int)
5080:11            Constant:
5090:11              1 (const int)
5100:11        move second child to first child ( temp float)
5110:11          direct index ( temp float)
5120:11            direct index ( temp 4-component vector of float)
5130:?               'clip' ( temp 3-element array of 4-component vector of float)
5140:11              Constant:
5150:11                2 (const int)
5160:11            Constant:
5170:11              2 (const int)
5180:11          direct index ( in float ClipDistance)
5190:11            direct index ( in 4-element array of float ClipDistance)
5200:?               'clip' ( in 3-element array of 4-element array of float ClipDistance)
5210:11              Constant:
5220:11                2 (const int)
5230:11            Constant:
5240:11              2 (const int)
5250:11        move second child to first child ( temp float)
5260:11          direct index ( temp float)
5270:11            direct index ( temp 4-component vector of float)
5280:?               'clip' ( temp 3-element array of 4-component vector of float)
5290:11              Constant:
5300:11                2 (const int)
5310:11            Constant:
5320:11              3 (const int)
5330:11          direct index ( in float ClipDistance)
5340:11            direct index ( in 4-element array of float ClipDistance)
5350:?               'clip' ( in 3-element array of 4-element array of float ClipDistance)
5360:11              Constant:
5370:11                2 (const int)
5380:11            Constant:
5390:11              3 (const int)
5400:11      Function Call: @main(vf4[3];u1[3];struct-S-vf4-vf21;vf4[3]; ( temp void)
5410:?         'pos' ( temp 3-element array of 4-component vector of float)
5420:?         'VertexID' ( temp 3-element array of uint)
5430:?         'OutputStream' ( temp structure{ temp 4-component vector of float pos,  temp 2-component vector of float clip})
5440:?         'clip' ( temp 3-element array of 4-component vector of float)
5450:?   Linker Objects
5460:?     'pos' ( in 3-element array of 4-component vector of float Position)
5470:?     'VertexID' (layout( location=0) in 3-element array of uint)
5480:?     'OutputStream.pos' ( out 4-component vector of float Position)
5490:?     'clip' ( in 3-element array of 4-element array of float ClipDistance)
5500:?     'OutputStream.clip' ( out 2-element array of float ClipDistance)
551
552// Module Version 10000
553// Generated by (magic number): 8000b
554// Id's are bound by 118
555
556                              Capability Geometry
557                              Capability ClipDistance
558               1:             ExtInstImport  "GLSL.std.450"
559                              MemoryModel Logical GLSL450
560                              EntryPoint Geometry 4  "main" 38 44 57 61 68
561                              ExecutionMode 4 Triangles
562                              ExecutionMode 4 Invocations 1
563                              ExecutionMode 4 OutputLineStrip
564                              ExecutionMode 4 OutputVertices 3
565                              Source HLSL 500
566                              Name 4  "main"
567                              Name 15  "S"
568                              MemberName 15(S) 0  "pos"
569                              MemberName 15(S) 1  "clip"
570                              Name 22  "@main(vf4[3];u1[3];struct-S-vf4-vf21;vf4[3];"
571                              Name 18  "pos"
572                              Name 19  "VertexID"
573                              Name 20  "OutputStream"
574                              Name 21  "clip"
575                              Name 24  "s"
576                              Name 38  "OutputStream.pos"
577                              Name 44  "OutputStream.clip"
578                              Name 55  "pos"
579                              Name 57  "pos"
580                              Name 59  "VertexID"
581                              Name 61  "VertexID"
582                              Name 63  "clip"
583                              Name 68  "clip"
584                              Name 108  "OutputStream"
585                              Name 109  "param"
586                              Name 111  "param"
587                              Name 113  "param"
588                              Name 114  "param"
589                              Decorate 38(OutputStream.pos) BuiltIn Position
590                              Decorate 44(OutputStream.clip) BuiltIn ClipDistance
591                              Decorate 57(pos) BuiltIn Position
592                              Decorate 61(VertexID) Location 0
593                              Decorate 68(clip) BuiltIn ClipDistance
594               2:             TypeVoid
595               3:             TypeFunction 2
596               6:             TypeFloat 32
597               7:             TypeVector 6(float) 4
598               8:             TypeInt 32 0
599               9:      8(int) Constant 3
600              10:             TypeArray 7(fvec4) 9
601              11:             TypePointer Function 10
602              12:             TypeArray 8(int) 9
603              13:             TypePointer Function 12
604              14:             TypeVector 6(float) 2
605           15(S):             TypeStruct 7(fvec4) 14(fvec2)
606              16:             TypePointer Function 15(S)
607              17:             TypeFunction 2 11(ptr) 13(ptr) 16(ptr) 11(ptr)
608              25:             TypeInt 32 1
609              26:     25(int) Constant 0
610              27:             TypePointer Function 7(fvec4)
611              31:     25(int) Constant 1
612              35:             TypePointer Function 14(fvec2)
613              37:             TypePointer Output 7(fvec4)
61438(OutputStream.pos):     37(ptr) Variable Output
615              41:      8(int) Constant 2
616              42:             TypeArray 6(float) 41
617              43:             TypePointer Output 42
61844(OutputStream.clip):     43(ptr) Variable Output
619              45:      8(int) Constant 0
620              46:             TypePointer Function 6(float)
621              49:             TypePointer Output 6(float)
622              51:      8(int) Constant 1
623              56:             TypePointer Input 10
624         57(pos):     56(ptr) Variable Input
625              60:             TypePointer Input 12
626    61(VertexID):     60(ptr) Variable Input
627              64:      8(int) Constant 4
628              65:             TypeArray 6(float) 64
629              66:             TypeArray 65 9
630              67:             TypePointer Input 66
631        68(clip):     67(ptr) Variable Input
632              69:             TypePointer Input 6(float)
633              76:     25(int) Constant 2
634              80:     25(int) Constant 3
635         4(main):           2 Function None 3
636               5:             Label
637         55(pos):     11(ptr) Variable Function
638    59(VertexID):     13(ptr) Variable Function
639        63(clip):     11(ptr) Variable Function
640108(OutputStream):     16(ptr) Variable Function
641      109(param):     11(ptr) Variable Function
642      111(param):     13(ptr) Variable Function
643      113(param):     16(ptr) Variable Function
644      114(param):     11(ptr) Variable Function
645              58:          10 Load 57(pos)
646                              Store 55(pos) 58
647              62:          12 Load 61(VertexID)
648                              Store 59(VertexID) 62
649              70:     69(ptr) AccessChain 68(clip) 26 26
650              71:    6(float) Load 70
651              72:     46(ptr) AccessChain 63(clip) 26 45
652                              Store 72 71
653              73:     69(ptr) AccessChain 68(clip) 26 31
654              74:    6(float) Load 73
655              75:     46(ptr) AccessChain 63(clip) 26 51
656                              Store 75 74
657              77:     69(ptr) AccessChain 68(clip) 26 76
658              78:    6(float) Load 77
659              79:     46(ptr) AccessChain 63(clip) 26 41
660                              Store 79 78
661              81:     69(ptr) AccessChain 68(clip) 26 80
662              82:    6(float) Load 81
663              83:     46(ptr) AccessChain 63(clip) 26 9
664                              Store 83 82
665              84:     69(ptr) AccessChain 68(clip) 31 26
666              85:    6(float) Load 84
667              86:     46(ptr) AccessChain 63(clip) 31 45
668                              Store 86 85
669              87:     69(ptr) AccessChain 68(clip) 31 31
670              88:    6(float) Load 87
671              89:     46(ptr) AccessChain 63(clip) 31 51
672                              Store 89 88
673              90:     69(ptr) AccessChain 68(clip) 31 76
674              91:    6(float) Load 90
675              92:     46(ptr) AccessChain 63(clip) 31 41
676                              Store 92 91
677              93:     69(ptr) AccessChain 68(clip) 31 80
678              94:    6(float) Load 93
679              95:     46(ptr) AccessChain 63(clip) 31 9
680                              Store 95 94
681              96:     69(ptr) AccessChain 68(clip) 76 26
682              97:    6(float) Load 96
683              98:     46(ptr) AccessChain 63(clip) 76 45
684                              Store 98 97
685              99:     69(ptr) AccessChain 68(clip) 76 31
686             100:    6(float) Load 99
687             101:     46(ptr) AccessChain 63(clip) 76 51
688                              Store 101 100
689             102:     69(ptr) AccessChain 68(clip) 76 76
690             103:    6(float) Load 102
691             104:     46(ptr) AccessChain 63(clip) 76 41
692                              Store 104 103
693             105:     69(ptr) AccessChain 68(clip) 76 80
694             106:    6(float) Load 105
695             107:     46(ptr) AccessChain 63(clip) 76 9
696                              Store 107 106
697             110:          10 Load 55(pos)
698                              Store 109(param) 110
699             112:          12 Load 59(VertexID)
700                              Store 111(param) 112
701             115:          10 Load 63(clip)
702                              Store 114(param) 115
703             116:           2 FunctionCall 22(@main(vf4[3];u1[3];struct-S-vf4-vf21;vf4[3];) 109(param) 111(param) 113(param) 114(param)
704             117:       15(S) Load 113(param)
705                              Store 108(OutputStream) 117
706                              Return
707                              FunctionEnd
70822(@main(vf4[3];u1[3];struct-S-vf4-vf21;vf4[3];):           2 Function None 17
709         18(pos):     11(ptr) FunctionParameter
710    19(VertexID):     13(ptr) FunctionParameter
71120(OutputStream):     16(ptr) FunctionParameter
712        21(clip):     11(ptr) FunctionParameter
713              23:             Label
714           24(s):     16(ptr) Variable Function
715              28:     27(ptr) AccessChain 18(pos) 26
716              29:    7(fvec4) Load 28
717              30:     27(ptr) AccessChain 24(s) 26
718                              Store 30 29
719              32:     27(ptr) AccessChain 21(clip) 26
720              33:    7(fvec4) Load 32
721              34:   14(fvec2) VectorShuffle 33 33 0 1
722              36:     35(ptr) AccessChain 24(s) 31
723                              Store 36 34
724              39:     27(ptr) AccessChain 24(s) 26
725              40:    7(fvec4) Load 39
726                              Store 38(OutputStream.pos) 40
727              47:     46(ptr) AccessChain 24(s) 31 45
728              48:    6(float) Load 47
729              50:     49(ptr) AccessChain 44(OutputStream.clip) 26
730                              Store 50 48
731              52:     46(ptr) AccessChain 24(s) 31 51
732              53:    6(float) Load 52
733              54:     49(ptr) AccessChain 44(OutputStream.clip) 31
734                              Store 54 53
735                              EmitVertex
736                              Return
737                              FunctionEnd
738