• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1structure.frag
2WARNING: 0:3: varying deprecated in version 130; may be removed in future release
3
4Shader version: 130
50:? Sequence
60:20  Function Definition: main( ( global void)
70:20    Function Parameters:
80:22    Sequence
90:22      Sequence
100:22        move second child to first child ( temp float)
110:22          'scale' ( temp float)
120:22          Constant:
130:22            0.000000
140:24      Test condition and select ( temp void)
150:24        Condition
160:24        Compare Greater Than ( temp bool)
170:24          direct index ( temp int)
180:24            i: direct index for structure ( global 5-element array of int)
190:24              direct index ( temp structure{ global 5-element array of int i,  global float f,  global 7-element array of structure{ global int i,  global 4-element array of float f,  global 5-element array of 4-component vector of float color} s1_1})
200:24                'foo2' ( uniform 5-element array of structure{ global 5-element array of int i,  global float f,  global 7-element array of structure{ global int i,  global 4-element array of float f,  global 5-element array of 4-component vector of float color} s1_1})
210:24                Constant:
220:24                  3 (const int)
230:24              Constant:
240:24                0 (const int)
250:24            Constant:
260:24              4 (const int)
270:24          Constant:
280:24            0 (const int)
290:24        true case
300:25        move second child to first child ( temp float)
310:25          'scale' ( temp float)
320:25          direct index ( temp float)
330:25            direct index ( temp 4-component vector of float)
340:25              color: direct index for structure ( global 5-element array of 4-component vector of float)
350:25                direct index ( temp structure{ global int i,  global 4-element array of float f,  global 5-element array of 4-component vector of float color})
360:25                  s1_1: direct index for structure ( global 7-element array of structure{ global int i,  global 4-element array of float f,  global 5-element array of 4-component vector of float color})
370:25                    direct index ( temp structure{ global 5-element array of int i,  global float f,  global 7-element array of structure{ global int i,  global 4-element array of float f,  global 5-element array of 4-component vector of float color} s1_1})
380:25                      'foo2' ( uniform 5-element array of structure{ global 5-element array of int i,  global float f,  global 7-element array of structure{ global int i,  global 4-element array of float f,  global 5-element array of 4-component vector of float color} s1_1})
390:25                      Constant:
400:25                        3 (const int)
410:25                    Constant:
420:25                      2 (const int)
430:25                  Constant:
440:25                    2 (const int)
450:25                Constant:
460:25                  2 (const int)
470:25              Constant:
480:25                3 (const int)
490:25            Constant:
500:25              0 (const int)
510:24        false case
520:27        move second child to first child ( temp float)
530:27          'scale' ( temp float)
540:27          direct index ( temp float)
550:27            f: direct index for structure ( global 4-element array of float)
560:27              direct index ( temp structure{ global int i,  global 4-element array of float f,  global 5-element array of 4-component vector of float color})
570:27                s1_1: direct index for structure ( global 7-element array of structure{ global int i,  global 4-element array of float f,  global 5-element array of 4-component vector of float color})
580:27                  direct index ( temp structure{ global 5-element array of int i,  global float f,  global 7-element array of structure{ global int i,  global 4-element array of float f,  global 5-element array of 4-component vector of float color} s1_1})
590:27                    'foo2' ( uniform 5-element array of structure{ global 5-element array of int i,  global float f,  global 7-element array of structure{ global int i,  global 4-element array of float f,  global 5-element array of 4-component vector of float color} s1_1})
600:27                    Constant:
610:27                      3 (const int)
620:27                  Constant:
630:27                    2 (const int)
640:27                Constant:
650:27                  2 (const int)
660:27              Constant:
670:27                1 (const int)
680:27            Constant:
690:27              3 (const int)
700:29      move second child to first child ( temp 4-component vector of float)
710:29        'gl_FragColor' ( fragColor 4-component vector of float FragColor)
720:29        vector-scale ( temp 4-component vector of float)
730:29          'scale' ( temp float)
740:29          texture ( global 4-component vector of float)
750:29            'sampler' ( uniform sampler2D)
760:29            'coord' ( smooth in 2-component vector of float)
770:?   Linker Objects
780:?     'sampler' ( uniform sampler2D)
790:?     'coord' ( smooth in 2-component vector of float)
800:?     'foo' ( uniform structure{ global int i,  global 4-element array of float f,  global 5-element array of 4-component vector of float color})
810:?     'foo2' ( uniform 5-element array of structure{ global 5-element array of int i,  global float f,  global 7-element array of structure{ global int i,  global 4-element array of float f,  global 5-element array of 4-component vector of float color} s1_1})
82
83
84Linked fragment stage:
85
86
87Shader version: 130
880:? Sequence
890:20  Function Definition: main( ( global void)
900:20    Function Parameters:
910:22    Sequence
920:22      Sequence
930:22        move second child to first child ( temp float)
940:22          'scale' ( temp float)
950:22          Constant:
960:22            0.000000
970:24      Test condition and select ( temp void)
980:24        Condition
990:24        Compare Greater Than ( temp bool)
1000:24          direct index ( temp int)
1010:24            i: direct index for structure ( global 5-element array of int)
1020:24              direct index ( temp structure{ global 5-element array of int i,  global float f,  global 7-element array of structure{ global int i,  global 4-element array of float f,  global 5-element array of 4-component vector of float color} s1_1})
1030:24                'foo2' ( uniform 5-element array of structure{ global 5-element array of int i,  global float f,  global 7-element array of structure{ global int i,  global 4-element array of float f,  global 5-element array of 4-component vector of float color} s1_1})
1040:24                Constant:
1050:24                  3 (const int)
1060:24              Constant:
1070:24                0 (const int)
1080:24            Constant:
1090:24              4 (const int)
1100:24          Constant:
1110:24            0 (const int)
1120:24        true case
1130:25        move second child to first child ( temp float)
1140:25          'scale' ( temp float)
1150:25          direct index ( temp float)
1160:25            direct index ( temp 4-component vector of float)
1170:25              color: direct index for structure ( global 5-element array of 4-component vector of float)
1180:25                direct index ( temp structure{ global int i,  global 4-element array of float f,  global 5-element array of 4-component vector of float color})
1190:25                  s1_1: direct index for structure ( global 7-element array of structure{ global int i,  global 4-element array of float f,  global 5-element array of 4-component vector of float color})
1200:25                    direct index ( temp structure{ global 5-element array of int i,  global float f,  global 7-element array of structure{ global int i,  global 4-element array of float f,  global 5-element array of 4-component vector of float color} s1_1})
1210:25                      'foo2' ( uniform 5-element array of structure{ global 5-element array of int i,  global float f,  global 7-element array of structure{ global int i,  global 4-element array of float f,  global 5-element array of 4-component vector of float color} s1_1})
1220:25                      Constant:
1230:25                        3 (const int)
1240:25                    Constant:
1250:25                      2 (const int)
1260:25                  Constant:
1270:25                    2 (const int)
1280:25                Constant:
1290:25                  2 (const int)
1300:25              Constant:
1310:25                3 (const int)
1320:25            Constant:
1330:25              0 (const int)
1340:24        false case
1350:27        move second child to first child ( temp float)
1360:27          'scale' ( temp float)
1370:27          direct index ( temp float)
1380:27            f: direct index for structure ( global 4-element array of float)
1390:27              direct index ( temp structure{ global int i,  global 4-element array of float f,  global 5-element array of 4-component vector of float color})
1400:27                s1_1: direct index for structure ( global 7-element array of structure{ global int i,  global 4-element array of float f,  global 5-element array of 4-component vector of float color})
1410:27                  direct index ( temp structure{ global 5-element array of int i,  global float f,  global 7-element array of structure{ global int i,  global 4-element array of float f,  global 5-element array of 4-component vector of float color} s1_1})
1420:27                    'foo2' ( uniform 5-element array of structure{ global 5-element array of int i,  global float f,  global 7-element array of structure{ global int i,  global 4-element array of float f,  global 5-element array of 4-component vector of float color} s1_1})
1430:27                    Constant:
1440:27                      3 (const int)
1450:27                  Constant:
1460:27                    2 (const int)
1470:27                Constant:
1480:27                  2 (const int)
1490:27              Constant:
1500:27                1 (const int)
1510:27            Constant:
1520:27              3 (const int)
1530:29      move second child to first child ( temp 4-component vector of float)
1540:29        'gl_FragColor' ( fragColor 4-component vector of float FragColor)
1550:29        vector-scale ( temp 4-component vector of float)
1560:29          'scale' ( temp float)
1570:29          texture ( global 4-component vector of float)
1580:29            'sampler' ( uniform sampler2D)
1590:29            'coord' ( smooth in 2-component vector of float)
1600:?   Linker Objects
1610:?     'sampler' ( uniform sampler2D)
1620:?     'coord' ( smooth in 2-component vector of float)
1630:?     'foo' ( uniform structure{ global int i,  global 4-element array of float f,  global 5-element array of 4-component vector of float color})
1640:?     'foo2' ( uniform 5-element array of structure{ global 5-element array of int i,  global float f,  global 7-element array of structure{ global int i,  global 4-element array of float f,  global 5-element array of 4-component vector of float color} s1_1})
165
166