1structAssignment.frag
2WARNING: 0:4: varying deprecated in version 130; may be removed in future release
3
4Shader version: 130
50:? Sequence
60:29  Function Definition: main( ( global void)
70:29    Function Parameters:
80:?     Sequence
90:33      Test condition and select ( temp void)
100:33        Condition
110:33        Compare Greater Than ( temp bool)
120:33          i: direct index for structure ( global int)
130:33            s2_1: direct index for structure ( global structure{ global int i,  global float f,  global structure{ global int i,  global float f} s1_1})
140:33              'foo3' ( uniform structure{ global structure{ global int i,  global float f,  global structure{ global int i,  global float f} s1_1} s2_1,  global int i,  global float f,  global structure{ global int i,  global float f} s1_1})
150:33              Constant:
160:33                0 (const int)
170:33            Constant:
180:33              0 (const int)
190:33          Constant:
200:33            0 (const int)
210:33        true case
220:34        move second child to first child ( temp structure{ global int i,  global float f,  global structure{ global int i,  global float f} s1_1})
230:34          'locals2' ( temp structure{ global int i,  global float f,  global structure{ global int i,  global float f} s1_1})
240:34          s2_1: direct index for structure ( global structure{ global int i,  global float f,  global structure{ global int i,  global float f} s1_1})
250:34            'foo3' ( uniform structure{ global structure{ global int i,  global float f,  global structure{ global int i,  global float f} s1_1} s2_1,  global int i,  global float f,  global structure{ global int i,  global float f} s1_1})
260:34            Constant:
270:34              0 (const int)
280:33        false case
290:36        move second child to first child ( temp structure{ global int i,  global float f,  global structure{ global int i,  global float f} s1_1})
300:36          'locals2' ( temp structure{ global int i,  global float f,  global structure{ global int i,  global float f} s1_1})
310:36          'foo2' ( uniform structure{ global int i,  global float f,  global structure{ global int i,  global float f} s1_1})
320:38      move second child to first child ( temp 4-component vector of float)
330:38        'gl_FragColor' ( fragColor 4-component vector of float FragColor)
340:38        vector-scale ( temp 4-component vector of float)
350:38          f: direct index for structure ( global float)
360:38            s1_1: direct index for structure ( global structure{ global int i,  global float f})
370:38              'locals2' ( temp structure{ global int i,  global float f,  global structure{ global int i,  global float f} s1_1})
380:38              Constant:
390:38                2 (const int)
400:38            Constant:
410:38              1 (const int)
420:38          texture ( global 4-component vector of float)
430:38            'sampler' ( uniform sampler2D)
440:38            'coord' ( smooth in 2-component vector of float)
450:?   Linker Objects
460:?     'sampler' ( uniform sampler2D)
470:?     'coord' ( smooth in 2-component vector of float)
480:?     'foo' ( uniform structure{ global int i,  global float f})
490:?     'foo2' ( uniform structure{ global int i,  global float f,  global structure{ global int i,  global float f} s1_1})
500:?     'foo3' ( uniform structure{ global structure{ global int i,  global float f,  global structure{ global int i,  global float f} s1_1} s2_1,  global int i,  global float f,  global structure{ global int i,  global float f} s1_1})
51
52
53Linked fragment stage:
54
55
56Shader version: 130
570:? Sequence
580:29  Function Definition: main( ( global void)
590:29    Function Parameters:
600:?     Sequence
610:33      Test condition and select ( temp void)
620:33        Condition
630:33        Compare Greater Than ( temp bool)
640:33          i: direct index for structure ( global int)
650:33            s2_1: direct index for structure ( global structure{ global int i,  global float f,  global structure{ global int i,  global float f} s1_1})
660:33              'foo3' ( uniform structure{ global structure{ global int i,  global float f,  global structure{ global int i,  global float f} s1_1} s2_1,  global int i,  global float f,  global structure{ global int i,  global float f} s1_1})
670:33              Constant:
680:33                0 (const int)
690:33            Constant:
700:33              0 (const int)
710:33          Constant:
720:33            0 (const int)
730:33        true case
740:34        move second child to first child ( temp structure{ global int i,  global float f,  global structure{ global int i,  global float f} s1_1})
750:34          'locals2' ( temp structure{ global int i,  global float f,  global structure{ global int i,  global float f} s1_1})
760:34          s2_1: direct index for structure ( global structure{ global int i,  global float f,  global structure{ global int i,  global float f} s1_1})
770:34            'foo3' ( uniform structure{ global structure{ global int i,  global float f,  global structure{ global int i,  global float f} s1_1} s2_1,  global int i,  global float f,  global structure{ global int i,  global float f} s1_1})
780:34            Constant:
790:34              0 (const int)
800:33        false case
810:36        move second child to first child ( temp structure{ global int i,  global float f,  global structure{ global int i,  global float f} s1_1})
820:36          'locals2' ( temp structure{ global int i,  global float f,  global structure{ global int i,  global float f} s1_1})
830:36          'foo2' ( uniform structure{ global int i,  global float f,  global structure{ global int i,  global float f} s1_1})
840:38      move second child to first child ( temp 4-component vector of float)
850:38        'gl_FragColor' ( fragColor 4-component vector of float FragColor)
860:38        vector-scale ( temp 4-component vector of float)
870:38          f: direct index for structure ( global float)
880:38            s1_1: direct index for structure ( global structure{ global int i,  global float f})
890:38              'locals2' ( temp structure{ global int i,  global float f,  global structure{ global int i,  global float f} s1_1})
900:38              Constant:
910:38                2 (const int)
920:38            Constant:
930:38              1 (const int)
940:38          texture ( global 4-component vector of float)
950:38            'sampler' ( uniform sampler2D)
960:38            'coord' ( smooth in 2-component vector of float)
970:?   Linker Objects
980:?     'sampler' ( uniform sampler2D)
990:?     'coord' ( smooth in 2-component vector of float)
1000:?     'foo' ( uniform structure{ global int i,  global float f})
1010:?     'foo2' ( uniform structure{ global int i,  global float f,  global structure{ global int i,  global float f} s1_1})
1020:?     'foo3' ( uniform structure{ global structure{ global int i,  global float f,  global structure{ global int i,  global float f} s1_1} s2_1,  global int i,  global float f,  global structure{ global int i,  global float f} s1_1})
103
104