1GL_EXT_draw_instanced.vert
2Shader version: 120
3Requested GL_EXT_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' ( uniform 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' ( uniform 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' ( global 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' ( global 4-component vector of float)
640:15            indirect index ( temp 4-component vector of float)
650:15              'va' ( uniform 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' ( gl_Position 4-component vector of float Position)
720:16        matrix-times-vector ( temp 4-component vector of float)
730:16          'gtf_ModelViewProjectionMatrix' ( uniform 4X4 matrix of float)
740:16          'vertex' ( temp 4-component vector of float)
750:17      move second child to first child ( temp float)
760:17        'gl_PointSize' ( gl_PointSize float PointSize)
770:17        Constant:
780:17          1.000000
790:?   Linker Objects
800:?     'gtf_ModelViewProjectionMatrix' ( uniform 4X4 matrix of float)
810:?     'instanceOffsets' ( uniform 3-element array of 3-component vector of float)
820:?     'va' ( uniform 64-element array of 4-component vector of float)
830:?     'color' ( global 4-component vector of float)
840:?     'gl_InstanceID' ( gl_InstanceId int InstanceId)
85
86
87Linked vertex stage:
88
89
90Shader version: 120
91Requested GL_EXT_draw_instanced
920:? Sequence
930:10  Function Definition: main( ( global void)
940:10    Function Parameters: 
950:12    Sequence
960:12      Sequence
970:12        move second child to first child ( temp 4-component vector of float)
980:12          'vertex' ( temp 4-component vector of float)
990:12          add ( temp 4-component vector of float)
1000:12            Construct vec4 ( temp 4-component vector of float)
1010:12              divide ( temp 2-component vector of float)
1020:12                vector swizzle ( temp 2-component vector of float)
1030:12                  direct index ( temp 4-component vector of float)
1040:12                    'va' ( uniform 64-element array of 4-component vector of float)
1050:12                    Constant:
1060:12                      0 (const int)
1070:12                  Sequence
1080:12                    Constant:
1090:12                      0 (const int)
1100:12                    Constant:
1110:12                      1 (const int)
1120:12                Constant:
1130:12                  3.000000
1140:12              vector swizzle ( temp 2-component vector of float)
1150:12                direct index ( temp 4-component vector of float)
1160:12                  'va' ( uniform 64-element array of 4-component vector of float)
1170:12                  Constant:
1180:12                    0 (const int)
1190:12                Sequence
1200:12                  Constant:
1210:12                    2 (const int)
1220:12                  Constant:
1230:12                    3 (const int)
1240:12            Construct vec4 ( temp 4-component vector of float)
1250:12              indirect index ( temp 3-component vector of float)
1260:12                'instanceOffsets' ( uniform 3-element array of 3-component vector of float)
1270:12                'gl_InstanceID' ( gl_InstanceId int InstanceId)
1280:12              Constant:
1290:12                1.000000
1300:13      move second child to first child ( temp 4-component vector of float)
1310:13        'color' ( global 4-component vector of float)
1320:13        Constant:
1330:13          0.000000
1340:13          0.000000
1350:13          0.000000
1360:13          0.000000
1370:14      Sequence
1380:14        Sequence
1390:14          move second child to first child ( temp int)
1400:14            'i' ( temp int)
1410:14            Constant:
1420:14              1 (const int)
1430:14        Loop with condition tested first
1440:14          Loop Condition
1450:14          Compare Less Than ( temp bool)
1460:14            'i' ( temp int)
1470:14            Constant:
1480:14              64 (const int)
1490:14          Loop Body
1500:15          add second child into first child ( temp 4-component vector of float)
1510:15            'color' ( global 4-component vector of float)
1520:15            indirect index ( temp 4-component vector of float)
1530:15              'va' ( uniform 64-element array of 4-component vector of float)
1540:15              'i' ( temp int)
1550:14          Loop Terminal Expression
1560:14          Post-Increment ( temp int)
1570:14            'i' ( temp int)
1580:16      move second child to first child ( temp 4-component vector of float)
1590:16        'gl_Position' ( gl_Position 4-component vector of float Position)
1600:16        matrix-times-vector ( temp 4-component vector of float)
1610:16          'gtf_ModelViewProjectionMatrix' ( uniform 4X4 matrix of float)
1620:16          'vertex' ( temp 4-component vector of float)
1630:17      move second child to first child ( temp float)
1640:17        'gl_PointSize' ( gl_PointSize float PointSize)
1650:17        Constant:
1660:17          1.000000
1670:?   Linker Objects
1680:?     'gtf_ModelViewProjectionMatrix' ( uniform 4X4 matrix of float)
1690:?     'instanceOffsets' ( uniform 3-element array of 3-component vector of float)
1700:?     'va' ( uniform 64-element array of 4-component vector of float)
1710:?     'color' ( global 4-component vector of float)
1720:?     'gl_InstanceID' ( gl_InstanceId int InstanceId)
173
174