1140.frag
2WARNING: 0:3: varying deprecated in version 130; may be removed in future release
3ERROR: 0:17: '#error' : GL_ES is not set
4ERROR: 0:20: 'fragment-shader struct input' : not supported for this version or the enabled extensions
5ERROR: 0:24: 'location' : not supported for this version or the enabled extensions
6ERROR: 0:24: 'location qualifier on input' : not supported for this version or the enabled extensions
7ERROR: 0:26: 'location' : not supported for this version or the enabled extensions
8ERROR: 0:26: 'location qualifier on output' : not supported for this version or the enabled extensions
9ERROR: 0:40: 'assign' :  l-value required "v" (can't modify shader input)
10ERROR: 0:40: 'out' : Non-L-value cannot be passed for 'out' or 'inout' parameters.
11ERROR: 8 compilation errors.  No code generated.
12
13
14Shader version: 140
15Requested GL_ARB_explicit_attrib_location
16Requested GL_ARB_separate_shader_objects
17ERROR: node is still EOpNull!
180:10  Function Definition: main( ( global void)
190:10    Function Parameters:
200:12    Sequence
210:12      Sequence
220:12        move second child to first child ( temp float)
230:12          'clip' ( temp float)
240:12          direct index ( smooth temp float ClipDistance)
250:12            'gl_ClipDistance' ( smooth in 5-element array of float ClipDistance)
260:12            Constant:
270:12              2 (const int)
280:22  Sequence
290:22    move second child to first child ( temp float)
300:22      'patch' ( global float)
310:22      Constant:
320:22        3.100000
330:38  Function Definition: foo( ( global void)
340:38    Function Parameters:
350:40    Sequence
360:40      Sequence
370:40        move second child to first child ( temp 2-component vector of float)
380:40          'r1' ( temp 2-component vector of float)
390:40          modf ( global 2-component vector of float)
400:40            vector swizzle ( temp 2-component vector of float)
410:40              'v' ( smooth in 4-component vector of float)
420:40              Sequence
430:40                Constant:
440:40                  0 (const int)
450:40                Constant:
460:40                  1 (const int)
470:40            vector swizzle ( temp 2-component vector of float)
480:40              'v' ( smooth in 4-component vector of float)
490:40              Sequence
500:40                Constant:
510:40                  2 (const int)
520:40                Constant:
530:40                  3 (const int)
540:41      Sequence
550:41        move second child to first child ( temp 2-component vector of float)
560:41          'r2' ( temp 2-component vector of float)
570:41          modf ( global 2-component vector of float)
580:41            vector swizzle ( temp 2-component vector of float)
590:41              'o' ( out 4-component vector of float)
600:41              Sequence
610:41                Constant:
620:41                  0 (const int)
630:41                Constant:
640:41                  1 (const int)
650:41            vector swizzle ( temp 2-component vector of float)
660:41              'o' ( out 4-component vector of float)
670:41              Sequence
680:41                Constant:
690:41                  2 (const int)
700:41                Constant:
710:41                  3 (const int)
720:42      move second child to first child ( temp float)
730:42        direct index ( temp float)
740:42          'o' ( out 4-component vector of float)
750:42          Constant:
760:42            2 (const int)
770:42        Function Call: fooi( ( global float)
780:47  Sequence
790:47    move second child to first child ( temp float)
800:47      'i1' ( global float)
810:47      Test condition and select ( temp float)
820:47        Condition
830:47        'gl_FrontFacing' ( gl_FrontFacing bool Face)
840:47        true case
850:47        Constant:
860:47          -2.000000
870:47        false case
880:47        Constant:
890:47          2.000000
900:48  Sequence
910:48    move second child to first child ( temp float)
920:48      'i2' ( global float)
930:48      Constant:
940:48        102.000000
950:50  Function Definition: fooi( ( global float)
960:50    Function Parameters:
970:52    Sequence
980:52      Branch: Return with expression
990:52        add ( temp float)
1000:52          'i1' ( global float)
1010:52          'i2' ( global float)
1020:?   Linker Objects
1030:?     'v' ( smooth in 4-component vector of float)
1040:?     'i' ( smooth in 4-component vector of float)
1050:?     'o' ( out 4-component vector of float)
1060:?     'gl_ClipDistance' ( smooth in 5-element array of float ClipDistance)
1070:?     's' ( smooth in structure{ global float f})
1080:?     'patch' ( global float)
1090:?     'vl' (layout( location=3) smooth in 4-component vector of float)
1100:?     'factorBad' (layout( location=3) out 4-component vector of float)
1110:?     'factor' (layout( location=5) out 4-component vector of float)
1120:?     'vl2' (layout( location=4) smooth in 4-component vector of float)
1130:?     'i1' ( global float)
1140:?     'i2' ( global float)
115
116
117Linked fragment stage:
118
119
120Shader version: 140
121Requested GL_ARB_explicit_attrib_location
122Requested GL_ARB_separate_shader_objects
123ERROR: node is still EOpNull!
1240:10  Function Definition: main( ( global void)
1250:10    Function Parameters:
1260:12    Sequence
1270:12      Sequence
1280:12        move second child to first child ( temp float)
1290:12          'clip' ( temp float)
1300:12          direct index ( smooth temp float ClipDistance)
1310:12            'gl_ClipDistance' ( smooth in 5-element array of float ClipDistance)
1320:12            Constant:
1330:12              2 (const int)
1340:22  Sequence
1350:22    move second child to first child ( temp float)
1360:22      'patch' ( global float)
1370:22      Constant:
1380:22        3.100000
1390:47  Sequence
1400:47    move second child to first child ( temp float)
1410:47      'i1' ( global float)
1420:47      Test condition and select ( temp float)
1430:47        Condition
1440:47        'gl_FrontFacing' ( gl_FrontFacing bool Face)
1450:47        true case
1460:47        Constant:
1470:47          -2.000000
1480:47        false case
1490:47        Constant:
1500:47          2.000000
1510:48  Sequence
1520:48    move second child to first child ( temp float)
1530:48      'i2' ( global float)
1540:48      Constant:
1550:48        102.000000
1560:?   Linker Objects
1570:?     'v' ( smooth in 4-component vector of float)
1580:?     'i' ( smooth in 4-component vector of float)
1590:?     'o' ( out 4-component vector of float)
1600:?     'gl_ClipDistance' ( smooth in 5-element array of float ClipDistance)
1610:?     's' ( smooth in structure{ global float f})
1620:?     'patch' ( global float)
1630:?     'vl' (layout( location=3) smooth in 4-component vector of float)
1640:?     'factorBad' (layout( location=3) out 4-component vector of float)
1650:?     'factor' (layout( location=5) out 4-component vector of float)
1660:?     'vl2' (layout( location=4) smooth in 4-component vector of float)
1670:?     'i1' ( global float)
1680:?     'i2' ( global float)
169
170