• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1GL_ARB_draw_instanced.vert
2Shader version: 150
3Requested GL_ARB_draw_instanced
40:? Sequence
50:10  Function Definition: main( ( global void)
60:10    Function Parameters:
70:12    Sequence
80:12      Sequence
90:12        move second child to first child ( temp 4-component vector of float)
100:12          'vertex' ( temp 4-component vector of float)
110:12          add ( temp 4-component vector of float)
120:12            Construct vec4 ( temp 4-component vector of float)
130:12              divide ( temp 2-component vector of float)
140:12                vector swizzle ( temp 2-component vector of float)
150:12                  direct index ( temp 4-component vector of float)
160:12                    'va' ( in 64-element array of 4-component vector of float)
170:12                    Constant:
180:12                      0 (const int)
190:12                  Sequence
200:12                    Constant:
210:12                      0 (const int)
220:12                    Constant:
230:12                      1 (const int)
240:12                Constant:
250:12                  3.000000
260:12              vector swizzle ( temp 2-component vector of float)
270:12                direct index ( temp 4-component vector of float)
280:12                  'va' ( in 64-element array of 4-component vector of float)
290:12                  Constant:
300:12                    0 (const int)
310:12                Sequence
320:12                  Constant:
330:12                    2 (const int)
340:12                  Constant:
350:12                    3 (const int)
360:12            Construct vec4 ( temp 4-component vector of float)
370:12              indirect index ( temp 3-component vector of float)
380:12                'instanceOffsets' ( uniform 3-element array of 3-component vector of float)
390:12                'gl_InstanceID' ( gl_InstanceId int InstanceId)
400:12              Constant:
410:12                1.000000
420:13      move second child to first child ( temp 4-component vector of float)
430:13        'color' ( smooth out 4-component vector of float)
440:13        Constant:
450:13          0.000000
460:13          0.000000
470:13          0.000000
480:13          0.000000
490:14      Sequence
500:14        Sequence
510:14          move second child to first child ( temp int)
520:14            'i' ( temp int)
530:14            Constant:
540:14              1 (const int)
550:14        Loop with condition tested first
560:14          Loop Condition
570:14          Compare Less Than ( temp bool)
580:14            'i' ( temp int)
590:14            Constant:
600:14              64 (const int)
610:14          Loop Body
620:15          add second child into first child ( temp 4-component vector of float)
630:15            'color' ( smooth out 4-component vector of float)
640:15            indirect index ( temp 4-component vector of float)
650:15              'va' ( in 64-element array of 4-component vector of float)
660:15              'i' ( temp int)
670:14          Loop Terminal Expression
680:14          Post-Increment ( temp int)
690:14            'i' ( temp int)
700:16      move second child to first child ( temp 4-component vector of float)
710:16        gl_Position: direct index for structure ( gl_Position 4-component vector of float Position)
720:16          'anon@0' ( out block{ gl_Position 4-component vector of float Position gl_Position,  gl_PointSize float PointSize gl_PointSize,  out unsized 1-element array of float ClipDistance gl_ClipDistance})
730:16          Constant:
740:16            0 (const uint)
750:16        matrix-times-vector ( temp 4-component vector of float)
760:16          'gtf_ModelViewProjectionMatrix' ( uniform 4X4 matrix of float)
770:16          'vertex' ( temp 4-component vector of float)
780:17      move second child to first child ( temp float)
790:17        gl_PointSize: direct index for structure ( gl_PointSize float PointSize)
800:17          'anon@0' ( out block{ gl_Position 4-component vector of float Position gl_Position,  gl_PointSize float PointSize gl_PointSize,  out unsized 1-element array of float ClipDistance gl_ClipDistance})
810:17          Constant:
820:17            1 (const uint)
830:17        Constant:
840:17          1.000000
850:?   Linker Objects
860:?     'gtf_ModelViewProjectionMatrix' ( uniform 4X4 matrix of float)
870:?     'instanceOffsets' ( uniform 3-element array of 3-component vector of float)
880:?     'va' ( in 64-element array of 4-component vector of float)
890:?     'color' ( smooth out 4-component vector of float)
900:?     'anon@0' ( out block{ gl_Position 4-component vector of float Position gl_Position,  gl_PointSize float PointSize gl_PointSize,  out unsized 1-element array of float ClipDistance gl_ClipDistance})
910:?     'gl_VertexID' ( gl_VertexId int VertexId)
920:?     'gl_InstanceID' ( gl_InstanceId int InstanceId)
93
94
95Linked vertex stage:
96
97
98Shader version: 150
99Requested GL_ARB_draw_instanced
1000:? Sequence
1010:10  Function Definition: main( ( global void)
1020:10    Function Parameters:
1030:12    Sequence
1040:12      Sequence
1050:12        move second child to first child ( temp 4-component vector of float)
1060:12          'vertex' ( temp 4-component vector of float)
1070:12          add ( temp 4-component vector of float)
1080:12            Construct vec4 ( temp 4-component vector of float)
1090:12              divide ( temp 2-component vector of float)
1100:12                vector swizzle ( temp 2-component vector of float)
1110:12                  direct index ( temp 4-component vector of float)
1120:12                    'va' ( in 64-element array of 4-component vector of float)
1130:12                    Constant:
1140:12                      0 (const int)
1150:12                  Sequence
1160:12                    Constant:
1170:12                      0 (const int)
1180:12                    Constant:
1190:12                      1 (const int)
1200:12                Constant:
1210:12                  3.000000
1220:12              vector swizzle ( temp 2-component vector of float)
1230:12                direct index ( temp 4-component vector of float)
1240:12                  'va' ( in 64-element array of 4-component vector of float)
1250:12                  Constant:
1260:12                    0 (const int)
1270:12                Sequence
1280:12                  Constant:
1290:12                    2 (const int)
1300:12                  Constant:
1310:12                    3 (const int)
1320:12            Construct vec4 ( temp 4-component vector of float)
1330:12              indirect index ( temp 3-component vector of float)
1340:12                'instanceOffsets' ( uniform 3-element array of 3-component vector of float)
1350:12                'gl_InstanceID' ( gl_InstanceId int InstanceId)
1360:12              Constant:
1370:12                1.000000
1380:13      move second child to first child ( temp 4-component vector of float)
1390:13        'color' ( smooth out 4-component vector of float)
1400:13        Constant:
1410:13          0.000000
1420:13          0.000000
1430:13          0.000000
1440:13          0.000000
1450:14      Sequence
1460:14        Sequence
1470:14          move second child to first child ( temp int)
1480:14            'i' ( temp int)
1490:14            Constant:
1500:14              1 (const int)
1510:14        Loop with condition tested first
1520:14          Loop Condition
1530:14          Compare Less Than ( temp bool)
1540:14            'i' ( temp int)
1550:14            Constant:
1560:14              64 (const int)
1570:14          Loop Body
1580:15          add second child into first child ( temp 4-component vector of float)
1590:15            'color' ( smooth out 4-component vector of float)
1600:15            indirect index ( temp 4-component vector of float)
1610:15              'va' ( in 64-element array of 4-component vector of float)
1620:15              'i' ( temp int)
1630:14          Loop Terminal Expression
1640:14          Post-Increment ( temp int)
1650:14            'i' ( temp int)
1660:16      move second child to first child ( temp 4-component vector of float)
1670:16        gl_Position: direct index for structure ( gl_Position 4-component vector of float Position)
1680:16          'anon@0' ( out block{ gl_Position 4-component vector of float Position gl_Position,  gl_PointSize float PointSize gl_PointSize,  out 1-element array of float ClipDistance gl_ClipDistance})
1690:16          Constant:
1700:16            0 (const uint)
1710:16        matrix-times-vector ( temp 4-component vector of float)
1720:16          'gtf_ModelViewProjectionMatrix' ( uniform 4X4 matrix of float)
1730:16          'vertex' ( temp 4-component vector of float)
1740:17      move second child to first child ( temp float)
1750:17        gl_PointSize: direct index for structure ( gl_PointSize float PointSize)
1760:17          'anon@0' ( out block{ gl_Position 4-component vector of float Position gl_Position,  gl_PointSize float PointSize gl_PointSize,  out 1-element array of float ClipDistance gl_ClipDistance})
1770:17          Constant:
1780:17            1 (const uint)
1790:17        Constant:
1800:17          1.000000
1810:?   Linker Objects
1820:?     'gtf_ModelViewProjectionMatrix' ( uniform 4X4 matrix of float)
1830:?     'instanceOffsets' ( uniform 3-element array of 3-component vector of float)
1840:?     'va' ( in 64-element array of 4-component vector of float)
1850:?     'color' ( smooth out 4-component vector of float)
1860:?     'anon@0' ( out block{ gl_Position 4-component vector of float Position gl_Position,  gl_PointSize float PointSize gl_PointSize,  out 1-element array of float ClipDistance gl_ClipDistance})
1870:?     'gl_VertexID' ( gl_VertexId int VertexId)
1880:?     'gl_InstanceID' ( gl_InstanceId int InstanceId)
189
190