1 cppComplexExpr.vert 2 ERROR: 0:46: 'xyxwx' : vector swizzle too long 3 ERROR: 0:46: 'xyxwx' : vector swizzle too long 4 ERROR: 0:46: 'return' : cannot convert return value to function return type 5 WARNING: 0:46: 'return' : type conversion on return values was not explicitly allowed until version 420 6 ERROR: 0:66: '#define' : Macro redefined; different substitutions: BIG 7 ERROR: 0:81: 'preprocessor evaluation' : bad expression 8 ERROR: 0:81: '#if' : unexpected tokens following directive 9 ERROR: 0:82: '#error' : good macro 10 ERROR: 0:87: 'macro expansion' : End of line in macro substitution: foobar 11 ERROR: 0:88: 'preprocessor evaluation' : can't evaluate expression 12 ERROR: 0:88: 'preprocessor evaluation' : bad expression 13 ERROR: 0:88: '#if' : unexpected tokens following directive 14 ERROR: 0:92: 'macro expansion' : End of line in macro substitution: foobar 15 ERROR: 0:93: 'preprocessor evaluation' : can't evaluate expression 16 ERROR: 0:93: 'preprocessor evaluation' : bad expression 17 ERROR: 0:93: '#if' : unexpected tokens following directive 18 ERROR: 0:99: 'macro expansion' : End of line in macro substitution: foobar 19 ERROR: 0:100: 'preprocessor evaluation' : can't evaluate expression 20 ERROR: 0:100: 'preprocessor evaluation' : bad expression 21 ERROR: 0:100: '#if' : unexpected tokens following directive 22 ERROR: 0:101: 'macro expansion' : End of line in macro substitution: foobar 23 ERROR: 0:102: 'preprocessor evaluation' : can't evaluate expression 24 ERROR: 0:102: 'preprocessor evaluation' : bad expression 25 ERROR: 0:102: '#if' : unexpected tokens following directive 26 ERROR: 0:108: 'preprocessor evaluation' : undefined macro in expression not allowed in es profile UNDEF 27 ERROR: 0:111: '#error' : good 0 28 ERROR: 0:115: '#error' : good 1 29 ERROR: 0:120: 'preprocessor evaluation' : undefined macro in expression not allowed in es profile UNDEF 30 ERROR: 0:123: 'preprocessor evaluation' : undefined macro in expression not allowed in es profile UNDEF 31 ERROR: 0:129: '#error' : good 1 32 ERROR: 0:133: '#error' : good 3 33 ERROR: 0:139: '#error' : good 4 34 ERROR: 0:144: 'preprocessor evaluation' : undefined macro in expression not allowed in es profile UNDEF 35 ERROR: 0:153: 'preprocessor evaluation' : undefined macro in expression not allowed in es profile UNDEF 36 ERROR: 0:156: 'preprocessor evaluation' : undefined macro in expression not allowed in es profile UNDEF2 37 ERROR: 0:159: 'preprocessor evaluation' : undefined macro in expression not allowed in es profile UNDEF2 38 ERROR: 0:3000: '#error' : line of this error should be 3000 39 ERROR: 0:3002: '#define' : predefined names can't be (un)defined: __LINE__ 40 ERROR: 0:3003: '#define' : predefined names can't be (un)defined: __FILE__ 41 ERROR: 0:3004: '#define' : predefined names can't be (un)defined: __VERSION__ 42 ERROR: 0:3005: '#define' : names beginning with "GL_" can't be (un)defined: GL_SOME_EXTENSION 43 ERROR: 0:3006: '#undef' : predefined names can't be (un)defined: __LINE__ 44 ERROR: 0:3007: '#undef' : predefined names can't be (un)defined: __FILE__ 45 ERROR: 0:3008: '#undef' : predefined names can't be (un)defined: __VERSION__ 46 ERROR: 0:3009: '#undef' : names beginning with "GL_" can't be (un)defined: GL_SOME_EXTENSION 47 ERROR: 0:4000: 'preprocessor evaluation' : division by 0 48 ERROR: 0:0: 'preprocessor evaluation' : division by 0 49 ERROR: 0:3: 'preprocessor evaluation' : bad expression 50 ERROR: 0:3: 'preprocessor evaluation' : division by 0 51 ERROR: 0:10001: '' : missing #endif 52 ERROR: 49 compilation errors. No code generated. 53 54 55 Shader version: 300 56 ERROR: node is still EOpNull! 57 0:4 Sequence 58 0:4 move second child to first child ( temp highp float) 59 0:4 'sum' ( global highp float) 60 0:4 Constant: 61 0:4 0.000000 62 0:6 Function Definition: main( ( global void) 63 0:6 Function Parameters: 64 0:10 Sequence 65 0:10 add second child into first child ( temp highp float) 66 0:10 'sum' ( global highp float) 67 0:10 Constant: 68 0:10 1.000000 69 0:15 add second child into first child ( temp highp float) 70 0:15 'sum' ( global highp float) 71 0:15 Constant: 72 0:15 20.000000 73 0:30 add second child into first child ( temp highp float) 74 0:30 'sum' ( global highp float) 75 0:30 Constant: 76 0:30 300.000000 77 0:39 move second child to first child ( temp highp 4-component vector of float) 78 0:39 'gl_Position' ( gl_Position highp 4-component vector of float Position) 79 0:39 Construct vec4 ( temp highp 4-component vector of float) 80 0:39 'sum' ( global highp float) 81 0:44 Function Definition: foo( ( global highp float) 82 0:44 Function Parameters: 83 0:46 Sequence 84 0:46 Branch: Return with expression 85 0:46 add ( temp highp 4-component vector of float) 86 0:46 add ( temp highp 4-component vector of float) 87 0:46 vector swizzle ( temp highp 4-component vector of float) 88 0:46 'gl_Position' ( gl_Position highp 4-component vector of float Position) 89 0:46 Sequence 90 0:46 Constant: 91 0:46 0 (const int) 92 0:46 Constant: 93 0:46 1 (const int) 94 0:46 Constant: 95 0:46 0 (const int) 96 0:46 Constant: 97 0:46 3 (const int) 98 0:46 Constant: 99 0:46 3.000000 100 0:46 add ( temp highp 4-component vector of float) 101 0:46 vector swizzle ( temp highp 4-component vector of float) 102 0:46 'gl_Position' ( gl_Position highp 4-component vector of float Position) 103 0:46 Sequence 104 0:46 Constant: 105 0:46 0 (const int) 106 0:46 Constant: 107 0:46 1 (const int) 108 0:46 Constant: 109 0:46 0 (const int) 110 0:46 Constant: 111 0:46 3 (const int) 112 0:46 Constant: 113 0:46 3.000000 114 0:47 Branch: Return with expression 115 0:47 add ( temp highp float) 116 0:47 add ( temp highp float) 117 0:47 direct index ( temp highp float) 118 0:47 'gl_Position' ( gl_Position highp 4-component vector of float Position) 119 0:47 Constant: 120 0:47 1 (const int) 121 0:47 Constant: 122 0:47 3.000000 123 0:47 add ( temp highp float) 124 0:47 direct index ( temp highp float) 125 0:47 'gl_Position' ( gl_Position highp 4-component vector of float Position) 126 0:47 Constant: 127 0:47 1 (const int) 128 0:47 Constant: 129 0:47 3.000000 130 0:97 Sequence 131 0:97 move second child to first child ( temp highp float) 132 0:97 'c' ( global highp float) 133 0:98 Constant: 134 0:98 3.300000 135 0:? Linker Objects 136 0:? 'sum' ( global highp float) 137 0:? 'c' ( global highp float) 138 0:? 'gl_VertexID' ( gl_VertexId highp int VertexId) 139 0:? 'gl_InstanceID' ( gl_InstanceId highp int InstanceId) 140 141 142 Linked vertex stage: 143 144 145 Shader version: 300 146 ERROR: node is still EOpNull! 147 0:4 Sequence 148 0:4 move second child to first child ( temp highp float) 149 0:4 'sum' ( global highp float) 150 0:4 Constant: 151 0:4 0.000000 152 0:6 Function Definition: main( ( global void) 153 0:6 Function Parameters: 154 0:10 Sequence 155 0:10 add second child into first child ( temp highp float) 156 0:10 'sum' ( global highp float) 157 0:10 Constant: 158 0:10 1.000000 159 0:15 add second child into first child ( temp highp float) 160 0:15 'sum' ( global highp float) 161 0:15 Constant: 162 0:15 20.000000 163 0:30 add second child into first child ( temp highp float) 164 0:30 'sum' ( global highp float) 165 0:30 Constant: 166 0:30 300.000000 167 0:39 move second child to first child ( temp highp 4-component vector of float) 168 0:39 'gl_Position' ( gl_Position highp 4-component vector of float Position) 169 0:39 Construct vec4 ( temp highp 4-component vector of float) 170 0:39 'sum' ( global highp float) 171 0:97 Sequence 172 0:97 move second child to first child ( temp highp float) 173 0:97 'c' ( global highp float) 174 0:98 Constant: 175 0:98 3.300000 176 0:? Linker Objects 177 0:? 'sum' ( global highp float) 178 0:? 'c' ( global highp float) 179 0:? 'gl_VertexID' ( gl_VertexId highp int VertexId) 180 0:? 'gl_InstanceID' ( gl_InstanceId highp int InstanceId) 181 182