1cppComplexExpr.vert
2ERROR: 0:46: 'xyxwx' : vector swizzle too long
3ERROR: 0:46: 'xyxwx' : vector swizzle too long
4ERROR: 0:46: 'return' : cannot convert return value to function return type
5WARNING: 0:46: 'return' : type conversion on return values was not explicitly allowed until version 420
6ERROR: 0:66: '#define' : Macro redefined; different substitutions: BIG
7ERROR: 0:81: 'preprocessor evaluation' : bad expression
8ERROR: 0:81: '#if' : unexpected tokens following directive
9ERROR: 0:82: '#error' : good macro
10ERROR: 0:87: 'macro expansion' : End of line in macro substitution: foobar
11ERROR: 0:88: 'preprocessor evaluation' : can't evaluate expression
12ERROR: 0:88: 'preprocessor evaluation' : bad expression
13ERROR: 0:88: '#if' : unexpected tokens following directive
14ERROR: 0:92: 'macro expansion' : End of line in macro substitution: foobar
15ERROR: 0:93: 'preprocessor evaluation' : can't evaluate expression
16ERROR: 0:93: 'preprocessor evaluation' : bad expression
17ERROR: 0:93: '#if' : unexpected tokens following directive
18ERROR: 0:99: 'macro expansion' : End of line in macro substitution: foobar
19ERROR: 0:100: 'preprocessor evaluation' : can't evaluate expression
20ERROR: 0:100: 'preprocessor evaluation' : bad expression
21ERROR: 0:100: '#if' : unexpected tokens following directive
22ERROR: 0:101: 'macro expansion' : End of line in macro substitution: foobar
23ERROR: 0:102: 'preprocessor evaluation' : can't evaluate expression
24ERROR: 0:102: 'preprocessor evaluation' : bad expression
25ERROR: 0:102: '#if' : unexpected tokens following directive
26ERROR: 0:108: 'preprocessor evaluation' : undefined macro in expression not allowed in es profile UNDEF
27ERROR: 0:111: '#error' : good 0
28ERROR: 0:115: '#error' : good 1
29ERROR: 0:120: 'preprocessor evaluation' : undefined macro in expression not allowed in es profile UNDEF
30ERROR: 0:123: 'preprocessor evaluation' : undefined macro in expression not allowed in es profile UNDEF
31ERROR: 0:129: '#error' : good 1
32ERROR: 0:133: '#error' : good 3
33ERROR: 0:139: '#error' : good 4
34ERROR: 0:144: 'preprocessor evaluation' : undefined macro in expression not allowed in es profile UNDEF
35ERROR: 0:153: 'preprocessor evaluation' : undefined macro in expression not allowed in es profile UNDEF
36ERROR: 0:156: 'preprocessor evaluation' : undefined macro in expression not allowed in es profile UNDEF2
37ERROR: 0:159: 'preprocessor evaluation' : undefined macro in expression not allowed in es profile UNDEF2
38ERROR: 0:3000: '#error' : line of this error should be 3000
39ERROR: 0:3002: '#define' : predefined names can't be (un)defined: __LINE__
40ERROR: 0:3003: '#define' : predefined names can't be (un)defined: __FILE__
41ERROR: 0:3004: '#define' : predefined names can't be (un)defined: __VERSION__
42ERROR: 0:3005: '#define' : names beginning with "GL_" can't be (un)defined: GL_SOME_EXTENSION
43ERROR: 0:3006: '#undef' : predefined names can't be (un)defined: __LINE__
44ERROR: 0:3007: '#undef' : predefined names can't be (un)defined: __FILE__
45ERROR: 0:3008: '#undef' : predefined names can't be (un)defined: __VERSION__
46ERROR: 0:3009: '#undef' : names beginning with "GL_" can't be (un)defined: GL_SOME_EXTENSION
47ERROR: 0:4000: 'preprocessor evaluation' : division by 0
48ERROR: 0:0: 'preprocessor evaluation' : division by 0
49ERROR: 0:3: 'preprocessor evaluation' : bad expression
50ERROR: 0:3: 'preprocessor evaluation' : division by 0
51ERROR: 0:10001: '' : missing #endif
52ERROR: 49 compilation errors.  No code generated.
53
54
55Shader version: 300
56ERROR: node is still EOpNull!
570:4  Sequence
580:4    move second child to first child ( temp highp float)
590:4      'sum' ( global highp float)
600:4      Constant:
610:4        0.000000
620:6  Function Definition: main( ( global void)
630:6    Function Parameters:
640:10    Sequence
650:10      add second child into first child ( temp highp float)
660:10        'sum' ( global highp float)
670:10        Constant:
680:10          1.000000
690:15      add second child into first child ( temp highp float)
700:15        'sum' ( global highp float)
710:15        Constant:
720:15          20.000000
730:30      add second child into first child ( temp highp float)
740:30        'sum' ( global highp float)
750:30        Constant:
760:30          300.000000
770:39      move second child to first child ( temp highp 4-component vector of float)
780:39        'gl_Position' ( gl_Position highp 4-component vector of float Position)
790:39        Construct vec4 ( temp highp 4-component vector of float)
800:39          'sum' ( global highp float)
810:44  Function Definition: foo( ( global highp float)
820:44    Function Parameters:
830:46    Sequence
840:46      Branch: Return with expression
850:46        add ( temp highp 4-component vector of float)
860:46          add ( temp highp 4-component vector of float)
870:46            vector swizzle ( temp highp 4-component vector of float)
880:46              'gl_Position' ( gl_Position highp 4-component vector of float Position)
890:46              Sequence
900:46                Constant:
910:46                  0 (const int)
920:46                Constant:
930:46                  1 (const int)
940:46                Constant:
950:46                  0 (const int)
960:46                Constant:
970:46                  3 (const int)
980:46            Constant:
990:46              3.000000
1000:46          add ( temp highp 4-component vector of float)
1010:46            vector swizzle ( temp highp 4-component vector of float)
1020:46              'gl_Position' ( gl_Position highp 4-component vector of float Position)
1030:46              Sequence
1040:46                Constant:
1050:46                  0 (const int)
1060:46                Constant:
1070:46                  1 (const int)
1080:46                Constant:
1090:46                  0 (const int)
1100:46                Constant:
1110:46                  3 (const int)
1120:46            Constant:
1130:46              3.000000
1140:47      Branch: Return with expression
1150:47        add ( temp highp float)
1160:47          add ( temp highp float)
1170:47            direct index ( temp highp float)
1180:47              'gl_Position' ( gl_Position highp 4-component vector of float Position)
1190:47              Constant:
1200:47                1 (const int)
1210:47            Constant:
1220:47              3.000000
1230:47          add ( temp highp float)
1240:47            direct index ( temp highp float)
1250:47              'gl_Position' ( gl_Position highp 4-component vector of float Position)
1260:47              Constant:
1270:47                1 (const int)
1280:47            Constant:
1290:47              3.000000
1300:97  Sequence
1310:97    move second child to first child ( temp highp float)
1320:97      'c' ( global highp float)
1330:98      Constant:
1340:98        3.300000
1350:?   Linker Objects
1360:?     'sum' ( global highp float)
1370:?     'c' ( global highp float)
1380:?     'gl_VertexID' ( gl_VertexId highp int VertexId)
1390:?     'gl_InstanceID' ( gl_InstanceId highp int InstanceId)
140
141
142Linked vertex stage:
143
144
145Shader version: 300
146ERROR: node is still EOpNull!
1470:4  Sequence
1480:4    move second child to first child ( temp highp float)
1490:4      'sum' ( global highp float)
1500:4      Constant:
1510:4        0.000000
1520:6  Function Definition: main( ( global void)
1530:6    Function Parameters:
1540:10    Sequence
1550:10      add second child into first child ( temp highp float)
1560:10        'sum' ( global highp float)
1570:10        Constant:
1580:10          1.000000
1590:15      add second child into first child ( temp highp float)
1600:15        'sum' ( global highp float)
1610:15        Constant:
1620:15          20.000000
1630:30      add second child into first child ( temp highp float)
1640:30        'sum' ( global highp float)
1650:30        Constant:
1660:30          300.000000
1670:39      move second child to first child ( temp highp 4-component vector of float)
1680:39        'gl_Position' ( gl_Position highp 4-component vector of float Position)
1690:39        Construct vec4 ( temp highp 4-component vector of float)
1700:39          'sum' ( global highp float)
1710:97  Sequence
1720:97    move second child to first child ( temp highp float)
1730:97      'c' ( global highp float)
1740:98      Constant:
1750:98        3.300000
1760:?   Linker Objects
1770:?     'sum' ( global highp float)
1780:?     'c' ( global highp float)
1790:?     'gl_VertexID' ( gl_VertexId highp int VertexId)
1800:?     'gl_InstanceID' ( gl_InstanceId highp int InstanceId)
181
182