1hlsl.clipdistance-7.vert
2Shader version: 500
30:? Sequence
40:8  Function Definition: @main( ( temp structure{ temp 4-component vector of float Position,  temp 3-component vector of float clip0,  temp 4-component vector of float clip1})
50:8    Function Parameters:
60:?     Sequence
70:10      move second child to first child ( temp 4-component vector of float)
80:10        Position: direct index for structure ( temp 4-component vector of float)
90:10          'Output' ( temp structure{ temp 4-component vector of float Position,  temp 3-component vector of float clip0,  temp 4-component vector of float clip1})
100:10          Constant:
110:10            0 (const int)
120:10        Constant:
130:10          0.000000
140:10          0.000000
150:10          0.000000
160:10          0.000000
170:12      move second child to first child ( temp float)
180:12        direct index ( temp float)
190:12          clip0: direct index for structure ( temp 3-component vector of float)
200:12            'Output' ( temp structure{ temp 4-component vector of float Position,  temp 3-component vector of float clip0,  temp 4-component vector of float clip1})
210:12            Constant:
220:12              1 (const int)
230:12          Constant:
240:12            0 (const int)
250:12        Constant:
260:12          0.000000
270:13      move second child to first child ( temp float)
280:13        direct index ( temp float)
290:13          clip0: direct index for structure ( temp 3-component vector of float)
300:13            'Output' ( temp structure{ temp 4-component vector of float Position,  temp 3-component vector of float clip0,  temp 4-component vector of float clip1})
310:13            Constant:
320:13              1 (const int)
330:13          Constant:
340:13            1 (const int)
350:13        Constant:
360:13          1.000000
370:14      move second child to first child ( temp float)
380:14        direct index ( temp float)
390:14          clip0: direct index for structure ( temp 3-component vector of float)
400:14            'Output' ( temp structure{ temp 4-component vector of float Position,  temp 3-component vector of float clip0,  temp 4-component vector of float clip1})
410:14            Constant:
420:14              1 (const int)
430:14          Constant:
440:14            2 (const int)
450:14        Constant:
460:14          2.000000
470:17      move second child to first child ( temp float)
480:17        direct index ( temp float)
490:17          clip1: direct index for structure ( temp 4-component vector of float)
500:17            'Output' ( temp structure{ temp 4-component vector of float Position,  temp 3-component vector of float clip0,  temp 4-component vector of float clip1})
510:17            Constant:
520:17              2 (const int)
530:17          Constant:
540:17            0 (const int)
550:17        Constant:
560:17          4.000000
570:18      move second child to first child ( temp float)
580:18        direct index ( temp float)
590:18          clip1: direct index for structure ( temp 4-component vector of float)
600:18            'Output' ( temp structure{ temp 4-component vector of float Position,  temp 3-component vector of float clip0,  temp 4-component vector of float clip1})
610:18            Constant:
620:18              2 (const int)
630:18          Constant:
640:18            1 (const int)
650:18        Constant:
660:18          5.000000
670:19      move second child to first child ( temp float)
680:19        direct index ( temp float)
690:19          clip1: direct index for structure ( temp 4-component vector of float)
700:19            'Output' ( temp structure{ temp 4-component vector of float Position,  temp 3-component vector of float clip0,  temp 4-component vector of float clip1})
710:19            Constant:
720:19              2 (const int)
730:19          Constant:
740:19            2 (const int)
750:19        Constant:
760:19          6.000000
770:20      move second child to first child ( temp float)
780:20        direct index ( temp float)
790:20          clip1: direct index for structure ( temp 4-component vector of float)
800:20            'Output' ( temp structure{ temp 4-component vector of float Position,  temp 3-component vector of float clip0,  temp 4-component vector of float clip1})
810:20            Constant:
820:20              2 (const int)
830:20          Constant:
840:20            3 (const int)
850:20        Constant:
860:20          7.000000
870:22      Branch: Return with expression
880:22        'Output' ( temp structure{ temp 4-component vector of float Position,  temp 3-component vector of float clip0,  temp 4-component vector of float clip1})
890:8  Function Definition: main( ( temp void)
900:8    Function Parameters:
910:?     Sequence
920:8      Sequence
930:8        move second child to first child ( temp structure{ temp 4-component vector of float Position,  temp 3-component vector of float clip0,  temp 4-component vector of float clip1})
940:8          'flattenTemp' ( temp structure{ temp 4-component vector of float Position,  temp 3-component vector of float clip0,  temp 4-component vector of float clip1})
950:8          Function Call: @main( ( temp structure{ temp 4-component vector of float Position,  temp 3-component vector of float clip0,  temp 4-component vector of float clip1})
960:8        move second child to first child ( temp 4-component vector of float)
970:?           '@entryPointOutput.Position' ( out 4-component vector of float Position)
980:8          Position: direct index for structure ( temp 4-component vector of float)
990:8            'flattenTemp' ( temp structure{ temp 4-component vector of float Position,  temp 3-component vector of float clip0,  temp 4-component vector of float clip1})
1000:8            Constant:
1010:8              0 (const int)
1020:?         Sequence
1030:8          move second child to first child ( temp float)
1040:8            direct index ( out float ClipDistance)
1050:?               '@entryPointOutput.clip1' ( out 8-element array of float ClipDistance)
1060:8              Constant:
1070:8                0 (const int)
1080:8            direct index ( temp float)
1090:8              clip0: direct index for structure ( temp 3-component vector of float)
1100:8                'flattenTemp' ( temp structure{ temp 4-component vector of float Position,  temp 3-component vector of float clip0,  temp 4-component vector of float clip1})
1110:8                Constant:
1120:8                  1 (const int)
1130:8              Constant:
1140:8                0 (const int)
1150:8          move second child to first child ( temp float)
1160:8            direct index ( out float ClipDistance)
1170:?               '@entryPointOutput.clip1' ( out 8-element array of float ClipDistance)
1180:8              Constant:
1190:8                1 (const int)
1200:8            direct index ( temp float)
1210:8              clip0: direct index for structure ( temp 3-component vector of float)
1220:8                'flattenTemp' ( temp structure{ temp 4-component vector of float Position,  temp 3-component vector of float clip0,  temp 4-component vector of float clip1})
1230:8                Constant:
1240:8                  1 (const int)
1250:8              Constant:
1260:8                1 (const int)
1270:8          move second child to first child ( temp float)
1280:8            direct index ( out float ClipDistance)
1290:?               '@entryPointOutput.clip1' ( out 8-element array of float ClipDistance)
1300:8              Constant:
1310:8                2 (const int)
1320:8            direct index ( temp float)
1330:8              clip0: direct index for structure ( temp 3-component vector of float)
1340:8                'flattenTemp' ( temp structure{ temp 4-component vector of float Position,  temp 3-component vector of float clip0,  temp 4-component vector of float clip1})
1350:8                Constant:
1360:8                  1 (const int)
1370:8              Constant:
1380:8                2 (const int)
1390:?         Sequence
1400:8          move second child to first child ( temp float)
1410:8            direct index ( out float ClipDistance)
1420:?               '@entryPointOutput.clip1' ( out 8-element array of float ClipDistance)
1430:8              Constant:
1440:8                4 (const int)
1450:8            direct index ( temp float)
1460:8              clip1: direct index for structure ( temp 4-component vector of float)
1470:8                'flattenTemp' ( temp structure{ temp 4-component vector of float Position,  temp 3-component vector of float clip0,  temp 4-component vector of float clip1})
1480:8                Constant:
1490:8                  2 (const int)
1500:8              Constant:
1510:8                0 (const int)
1520:8          move second child to first child ( temp float)
1530:8            direct index ( out float ClipDistance)
1540:?               '@entryPointOutput.clip1' ( out 8-element array of float ClipDistance)
1550:8              Constant:
1560:8                5 (const int)
1570:8            direct index ( temp float)
1580:8              clip1: direct index for structure ( temp 4-component vector of float)
1590:8                'flattenTemp' ( temp structure{ temp 4-component vector of float Position,  temp 3-component vector of float clip0,  temp 4-component vector of float clip1})
1600:8                Constant:
1610:8                  2 (const int)
1620:8              Constant:
1630:8                1 (const int)
1640:8          move second child to first child ( temp float)
1650:8            direct index ( out float ClipDistance)
1660:?               '@entryPointOutput.clip1' ( out 8-element array of float ClipDistance)
1670:8              Constant:
1680:8                6 (const int)
1690:8            direct index ( temp float)
1700:8              clip1: direct index for structure ( temp 4-component vector of float)
1710:8                'flattenTemp' ( temp structure{ temp 4-component vector of float Position,  temp 3-component vector of float clip0,  temp 4-component vector of float clip1})
1720:8                Constant:
1730:8                  2 (const int)
1740:8              Constant:
1750:8                2 (const int)
1760:8          move second child to first child ( temp float)
1770:8            direct index ( out float ClipDistance)
1780:?               '@entryPointOutput.clip1' ( out 8-element array of float ClipDistance)
1790:8              Constant:
1800:8                7 (const int)
1810:8            direct index ( temp float)
1820:8              clip1: direct index for structure ( temp 4-component vector of float)
1830:8                'flattenTemp' ( temp structure{ temp 4-component vector of float Position,  temp 3-component vector of float clip0,  temp 4-component vector of float clip1})
1840:8                Constant:
1850:8                  2 (const int)
1860:8              Constant:
1870:8                3 (const int)
1880:?   Linker Objects
1890:?     '@entryPointOutput.Position' ( out 4-component vector of float Position)
1900:?     '@entryPointOutput.clip1' ( out 8-element array of float ClipDistance)
191
192
193Linked vertex stage:
194
195
196Shader version: 500
1970:? Sequence
1980:8  Function Definition: @main( ( temp structure{ temp 4-component vector of float Position,  temp 3-component vector of float clip0,  temp 4-component vector of float clip1})
1990:8    Function Parameters:
2000:?     Sequence
2010:10      move second child to first child ( temp 4-component vector of float)
2020:10        Position: direct index for structure ( temp 4-component vector of float)
2030:10          'Output' ( temp structure{ temp 4-component vector of float Position,  temp 3-component vector of float clip0,  temp 4-component vector of float clip1})
2040:10          Constant:
2050:10            0 (const int)
2060:10        Constant:
2070:10          0.000000
2080:10          0.000000
2090:10          0.000000
2100:10          0.000000
2110:12      move second child to first child ( temp float)
2120:12        direct index ( temp float)
2130:12          clip0: direct index for structure ( temp 3-component vector of float)
2140:12            'Output' ( temp structure{ temp 4-component vector of float Position,  temp 3-component vector of float clip0,  temp 4-component vector of float clip1})
2150:12            Constant:
2160:12              1 (const int)
2170:12          Constant:
2180:12            0 (const int)
2190:12        Constant:
2200:12          0.000000
2210:13      move second child to first child ( temp float)
2220:13        direct index ( temp float)
2230:13          clip0: direct index for structure ( temp 3-component vector of float)
2240:13            'Output' ( temp structure{ temp 4-component vector of float Position,  temp 3-component vector of float clip0,  temp 4-component vector of float clip1})
2250:13            Constant:
2260:13              1 (const int)
2270:13          Constant:
2280:13            1 (const int)
2290:13        Constant:
2300:13          1.000000
2310:14      move second child to first child ( temp float)
2320:14        direct index ( temp float)
2330:14          clip0: direct index for structure ( temp 3-component vector of float)
2340:14            'Output' ( temp structure{ temp 4-component vector of float Position,  temp 3-component vector of float clip0,  temp 4-component vector of float clip1})
2350:14            Constant:
2360:14              1 (const int)
2370:14          Constant:
2380:14            2 (const int)
2390:14        Constant:
2400:14          2.000000
2410:17      move second child to first child ( temp float)
2420:17        direct index ( temp float)
2430:17          clip1: direct index for structure ( temp 4-component vector of float)
2440:17            'Output' ( temp structure{ temp 4-component vector of float Position,  temp 3-component vector of float clip0,  temp 4-component vector of float clip1})
2450:17            Constant:
2460:17              2 (const int)
2470:17          Constant:
2480:17            0 (const int)
2490:17        Constant:
2500:17          4.000000
2510:18      move second child to first child ( temp float)
2520:18        direct index ( temp float)
2530:18          clip1: direct index for structure ( temp 4-component vector of float)
2540:18            'Output' ( temp structure{ temp 4-component vector of float Position,  temp 3-component vector of float clip0,  temp 4-component vector of float clip1})
2550:18            Constant:
2560:18              2 (const int)
2570:18          Constant:
2580:18            1 (const int)
2590:18        Constant:
2600:18          5.000000
2610:19      move second child to first child ( temp float)
2620:19        direct index ( temp float)
2630:19          clip1: direct index for structure ( temp 4-component vector of float)
2640:19            'Output' ( temp structure{ temp 4-component vector of float Position,  temp 3-component vector of float clip0,  temp 4-component vector of float clip1})
2650:19            Constant:
2660:19              2 (const int)
2670:19          Constant:
2680:19            2 (const int)
2690:19        Constant:
2700:19          6.000000
2710:20      move second child to first child ( temp float)
2720:20        direct index ( temp float)
2730:20          clip1: direct index for structure ( temp 4-component vector of float)
2740:20            'Output' ( temp structure{ temp 4-component vector of float Position,  temp 3-component vector of float clip0,  temp 4-component vector of float clip1})
2750:20            Constant:
2760:20              2 (const int)
2770:20          Constant:
2780:20            3 (const int)
2790:20        Constant:
2800:20          7.000000
2810:22      Branch: Return with expression
2820:22        'Output' ( temp structure{ temp 4-component vector of float Position,  temp 3-component vector of float clip0,  temp 4-component vector of float clip1})
2830:8  Function Definition: main( ( temp void)
2840:8    Function Parameters:
2850:?     Sequence
2860:8      Sequence
2870:8        move second child to first child ( temp structure{ temp 4-component vector of float Position,  temp 3-component vector of float clip0,  temp 4-component vector of float clip1})
2880:8          'flattenTemp' ( temp structure{ temp 4-component vector of float Position,  temp 3-component vector of float clip0,  temp 4-component vector of float clip1})
2890:8          Function Call: @main( ( temp structure{ temp 4-component vector of float Position,  temp 3-component vector of float clip0,  temp 4-component vector of float clip1})
2900:8        move second child to first child ( temp 4-component vector of float)
2910:?           '@entryPointOutput.Position' ( out 4-component vector of float Position)
2920:8          Position: direct index for structure ( temp 4-component vector of float)
2930:8            'flattenTemp' ( temp structure{ temp 4-component vector of float Position,  temp 3-component vector of float clip0,  temp 4-component vector of float clip1})
2940:8            Constant:
2950:8              0 (const int)
2960:?         Sequence
2970:8          move second child to first child ( temp float)
2980:8            direct index ( out float ClipDistance)
2990:?               '@entryPointOutput.clip1' ( out 8-element array of float ClipDistance)
3000:8              Constant:
3010:8                0 (const int)
3020:8            direct index ( temp float)
3030:8              clip0: direct index for structure ( temp 3-component vector of float)
3040:8                'flattenTemp' ( temp structure{ temp 4-component vector of float Position,  temp 3-component vector of float clip0,  temp 4-component vector of float clip1})
3050:8                Constant:
3060:8                  1 (const int)
3070:8              Constant:
3080:8                0 (const int)
3090:8          move second child to first child ( temp float)
3100:8            direct index ( out float ClipDistance)
3110:?               '@entryPointOutput.clip1' ( out 8-element array of float ClipDistance)
3120:8              Constant:
3130:8                1 (const int)
3140:8            direct index ( temp float)
3150:8              clip0: direct index for structure ( temp 3-component vector of float)
3160:8                'flattenTemp' ( temp structure{ temp 4-component vector of float Position,  temp 3-component vector of float clip0,  temp 4-component vector of float clip1})
3170:8                Constant:
3180:8                  1 (const int)
3190:8              Constant:
3200:8                1 (const int)
3210:8          move second child to first child ( temp float)
3220:8            direct index ( out float ClipDistance)
3230:?               '@entryPointOutput.clip1' ( out 8-element array of float ClipDistance)
3240:8              Constant:
3250:8                2 (const int)
3260:8            direct index ( temp float)
3270:8              clip0: direct index for structure ( temp 3-component vector of float)
3280:8                'flattenTemp' ( temp structure{ temp 4-component vector of float Position,  temp 3-component vector of float clip0,  temp 4-component vector of float clip1})
3290:8                Constant:
3300:8                  1 (const int)
3310:8              Constant:
3320:8                2 (const int)
3330:?         Sequence
3340:8          move second child to first child ( temp float)
3350:8            direct index ( out float ClipDistance)
3360:?               '@entryPointOutput.clip1' ( out 8-element array of float ClipDistance)
3370:8              Constant:
3380:8                4 (const int)
3390:8            direct index ( temp float)
3400:8              clip1: direct index for structure ( temp 4-component vector of float)
3410:8                'flattenTemp' ( temp structure{ temp 4-component vector of float Position,  temp 3-component vector of float clip0,  temp 4-component vector of float clip1})
3420:8                Constant:
3430:8                  2 (const int)
3440:8              Constant:
3450:8                0 (const int)
3460:8          move second child to first child ( temp float)
3470:8            direct index ( out float ClipDistance)
3480:?               '@entryPointOutput.clip1' ( out 8-element array of float ClipDistance)
3490:8              Constant:
3500:8                5 (const int)
3510:8            direct index ( temp float)
3520:8              clip1: direct index for structure ( temp 4-component vector of float)
3530:8                'flattenTemp' ( temp structure{ temp 4-component vector of float Position,  temp 3-component vector of float clip0,  temp 4-component vector of float clip1})
3540:8                Constant:
3550:8                  2 (const int)
3560:8              Constant:
3570:8                1 (const int)
3580:8          move second child to first child ( temp float)
3590:8            direct index ( out float ClipDistance)
3600:?               '@entryPointOutput.clip1' ( out 8-element array of float ClipDistance)
3610:8              Constant:
3620:8                6 (const int)
3630:8            direct index ( temp float)
3640:8              clip1: direct index for structure ( temp 4-component vector of float)
3650:8                'flattenTemp' ( temp structure{ temp 4-component vector of float Position,  temp 3-component vector of float clip0,  temp 4-component vector of float clip1})
3660:8                Constant:
3670:8                  2 (const int)
3680:8              Constant:
3690:8                2 (const int)
3700:8          move second child to first child ( temp float)
3710:8            direct index ( out float ClipDistance)
3720:?               '@entryPointOutput.clip1' ( out 8-element array of float ClipDistance)
3730:8              Constant:
3740:8                7 (const int)
3750:8            direct index ( temp float)
3760:8              clip1: direct index for structure ( temp 4-component vector of float)
3770:8                'flattenTemp' ( temp structure{ temp 4-component vector of float Position,  temp 3-component vector of float clip0,  temp 4-component vector of float clip1})
3780:8                Constant:
3790:8                  2 (const int)
3800:8              Constant:
3810:8                3 (const int)
3820:?   Linker Objects
3830:?     '@entryPointOutput.Position' ( out 4-component vector of float Position)
3840:?     '@entryPointOutput.clip1' ( out 8-element array of float ClipDistance)
385
386// Module Version 10000
387// Generated by (magic number): 80007
388// Id's are bound by 81
389
390                              Capability Shader
391                              Capability ClipDistance
392               1:             ExtInstImport  "GLSL.std.450"
393                              MemoryModel Logical GLSL450
394                              EntryPoint Vertex 4  "main" 48 54
395                              Source HLSL 500
396                              Name 4  "main"
397                              Name 9  "VS_OUTPUT"
398                              MemberName 9(VS_OUTPUT) 0  "Position"
399                              MemberName 9(VS_OUTPUT) 1  "clip0"
400                              MemberName 9(VS_OUTPUT) 2  "clip1"
401                              Name 11  "@main("
402                              Name 14  "Output"
403                              Name 45  "flattenTemp"
404                              Name 48  "@entryPointOutput.Position"
405                              Name 54  "@entryPointOutput.clip1"
406                              Decorate 48(@entryPointOutput.Position) BuiltIn Position
407                              Decorate 54(@entryPointOutput.clip1) BuiltIn ClipDistance
408               2:             TypeVoid
409               3:             TypeFunction 2
410               6:             TypeFloat 32
411               7:             TypeVector 6(float) 4
412               8:             TypeVector 6(float) 3
413    9(VS_OUTPUT):             TypeStruct 7(fvec4) 8(fvec3) 7(fvec4)
414              10:             TypeFunction 9(VS_OUTPUT)
415              13:             TypePointer Function 9(VS_OUTPUT)
416              15:             TypeInt 32 1
417              16:     15(int) Constant 0
418              17:    6(float) Constant 0
419              18:    7(fvec4) ConstantComposite 17 17 17 17
420              19:             TypePointer Function 7(fvec4)
421              21:     15(int) Constant 1
422              22:             TypeInt 32 0
423              23:     22(int) Constant 0
424              24:             TypePointer Function 6(float)
425              26:    6(float) Constant 1065353216
426              27:     22(int) Constant 1
427              29:    6(float) Constant 1073741824
428              30:     22(int) Constant 2
429              32:     15(int) Constant 2
430              33:    6(float) Constant 1082130432
431              35:    6(float) Constant 1084227584
432              37:    6(float) Constant 1086324736
433              39:    6(float) Constant 1088421888
434              40:     22(int) Constant 3
435              47:             TypePointer Output 7(fvec4)
43648(@entryPointOutput.Position):     47(ptr) Variable Output
437              51:     22(int) Constant 8
438              52:             TypeArray 6(float) 51
439              53:             TypePointer Output 52
44054(@entryPointOutput.clip1):     53(ptr) Variable Output
441              57:             TypePointer Output 6(float)
442              65:     15(int) Constant 4
443              69:     15(int) Constant 5
444              73:     15(int) Constant 6
445              77:     15(int) Constant 7
446         4(main):           2 Function None 3
447               5:             Label
448 45(flattenTemp):     13(ptr) Variable Function
449              46:9(VS_OUTPUT) FunctionCall 11(@main()
450                              Store 45(flattenTemp) 46
451              49:     19(ptr) AccessChain 45(flattenTemp) 16
452              50:    7(fvec4) Load 49
453                              Store 48(@entryPointOutput.Position) 50
454              55:     24(ptr) AccessChain 45(flattenTemp) 21 23
455              56:    6(float) Load 55
456              58:     57(ptr) AccessChain 54(@entryPointOutput.clip1) 16
457                              Store 58 56
458              59:     24(ptr) AccessChain 45(flattenTemp) 21 27
459              60:    6(float) Load 59
460              61:     57(ptr) AccessChain 54(@entryPointOutput.clip1) 21
461                              Store 61 60
462              62:     24(ptr) AccessChain 45(flattenTemp) 21 30
463              63:    6(float) Load 62
464              64:     57(ptr) AccessChain 54(@entryPointOutput.clip1) 32
465                              Store 64 63
466              66:     24(ptr) AccessChain 45(flattenTemp) 32 23
467              67:    6(float) Load 66
468              68:     57(ptr) AccessChain 54(@entryPointOutput.clip1) 65
469                              Store 68 67
470              70:     24(ptr) AccessChain 45(flattenTemp) 32 27
471              71:    6(float) Load 70
472              72:     57(ptr) AccessChain 54(@entryPointOutput.clip1) 69
473                              Store 72 71
474              74:     24(ptr) AccessChain 45(flattenTemp) 32 30
475              75:    6(float) Load 74
476              76:     57(ptr) AccessChain 54(@entryPointOutput.clip1) 73
477                              Store 76 75
478              78:     24(ptr) AccessChain 45(flattenTemp) 32 40
479              79:    6(float) Load 78
480              80:     57(ptr) AccessChain 54(@entryPointOutput.clip1) 77
481                              Store 80 79
482                              Return
483                              FunctionEnd
484      11(@main():9(VS_OUTPUT) Function None 10
485              12:             Label
486      14(Output):     13(ptr) Variable Function
487              20:     19(ptr) AccessChain 14(Output) 16
488                              Store 20 18
489              25:     24(ptr) AccessChain 14(Output) 21 23
490                              Store 25 17
491              28:     24(ptr) AccessChain 14(Output) 21 27
492                              Store 28 26
493              31:     24(ptr) AccessChain 14(Output) 21 30
494                              Store 31 29
495              34:     24(ptr) AccessChain 14(Output) 32 23
496                              Store 34 33
497              36:     24(ptr) AccessChain 14(Output) 32 27
498                              Store 36 35
499              38:     24(ptr) AccessChain 14(Output) 32 30
500                              Store 38 37
501              41:     24(ptr) AccessChain 14(Output) 32 40
502                              Store 41 39
503              42:9(VS_OUTPUT) Load 14(Output)
504                              ReturnValue 42
505                              FunctionEnd
506