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