1 300scope.vert 2 ERROR: 0:5: 'a' : redefinition 3 ERROR: 0:17: 'b' : function name is redeclaration of existing name 4 ERROR: 0:20: 'c' : redefinition 5 ERROR: 0:22: 'f' : redefinition 6 ERROR: 0:23: 'tan' : redefinition 7 ERROR: 0:24: 'redefinition of built-in function' : not supported with this profile: es 8 ERROR: 0:24: 'highp' : overloaded functions must have the same parameter precision qualifiers for argument 1 9 ERROR: 0:24: 'sin' : function name is redeclaration of existing name 10 ERROR: 0:25: 'redefinition of built-in function' : not supported with this profile: es 11 ERROR: 0:25: 'highp' : overloaded functions must have the same parameter precision qualifiers for argument 1 12 ERROR: 0:25: 'cos' : function name is redeclaration of existing name 13 ERROR: 0:25: 'cos' : function already has a body 14 ERROR: 0:27: 'return' : void function cannot return a value 15 ERROR: 0:29: 'radians' : function name is redeclaration of existing name 16 ERROR: 0:29: 'radians' : can't find function 17 ERROR: 0:31: 'return' : void function cannot return a value 18 ERROR: 0:38: 'local function declaration' : not supported with this profile: es 19 ERROR: 0:43: 'sin' : can't use function syntax on variable 20 ERROR: 0:57: 'z' : undeclared identifier 21 ERROR: 0:57: 'z' : redefinition 22 ERROR: 0:73: 'degrees' : can't use function syntax on variable 23 ERROR: 21 compilation errors. No code generated. 24 25 26 Shader version: 300 27 ERROR: node is still EOpNull! 28 0:3 Function Definition: f(i1;i1;i1; ( global highp int) 29 0:3 Function Parameters: 30 0:3 'a' ( in highp int) 31 0:3 'b' ( in highp int) 32 0:3 'c' ( in highp int) 33 0:? Sequence 34 0:8 Sequence 35 0:8 Sequence 36 0:8 move second child to first child ( temp highp float) 37 0:8 'a' ( temp highp float) 38 0:8 add ( temp highp float) 39 0:8 Convert int to float ( temp highp float) 40 0:8 'a' ( in highp int) 41 0:8 Constant: 42 0:8 1.000000 43 0:11 Branch: Return with expression 44 0:11 'a' ( in highp int) 45 0:25 Function Definition: cos(f1; ( global highp float) 46 0:25 Function Parameters: 47 0:25 'x' ( in highp float) 48 0:27 Sequence 49 0:27 Branch: Return 50 0:29 Function Definition: radians(b1; ( global bool) 51 0:29 Function Parameters: 52 0:29 'x' ( in bool) 53 0:31 Sequence 54 0:31 Branch: Return 55 0:36 Function Definition: main( ( global void) 56 0:36 Function Parameters: 57 0:? Sequence 58 0:39 Function Call: g( ( temp highp int) 59 0:42 'sin' ( temp highp float) 60 0:43 Constant: 61 0:43 0.000000 62 0:44 Function Call: f(i1;i1;i1; ( global highp int) 63 0:44 Constant: 64 0:44 1 (const int) 65 0:44 Constant: 66 0:44 2 (const int) 67 0:44 Constant: 68 0:44 3 (const int) 69 0:47 move second child to first child ( temp highp float) 70 0:47 'f' ( temp highp float) 71 0:47 Constant: 72 0:47 3.000000 73 0:49 move second child to first child ( temp highp 4-component vector of float) 74 0:49 'gl_Position' ( invariant gl_Position highp 4-component vector of float Position) 75 0:49 Construct vec4 ( temp highp 4-component vector of float) 76 0:49 'f' ( temp highp float) 77 0:51 Sequence 78 0:51 Sequence 79 0:51 move second child to first child ( temp highp int) 80 0:51 'f' ( temp highp int) 81 0:51 Constant: 82 0:51 0 (const int) 83 0:51 Loop with condition tested first 84 0:51 Loop Condition 85 0:51 Compare Less Than ( temp bool) 86 0:51 'f' ( temp highp int) 87 0:51 Constant: 88 0:51 10 (const int) 89 0:51 Loop Body 90 0:52 Pre-Increment ( temp highp int) 91 0:52 'f' ( temp highp int) 92 0:51 Loop Terminal Expression 93 0:51 Pre-Increment ( temp highp int) 94 0:51 'f' ( temp highp int) 95 0:54 Sequence 96 0:54 move second child to first child ( temp highp int) 97 0:54 'x' ( temp highp int) 98 0:54 Constant: 99 0:54 1 (const int) 100 0:56 Sequence 101 0:56 Sequence 102 0:56 move second child to first child ( temp highp float) 103 0:56 'x' ( temp highp float) 104 0:56 Constant: 105 0:56 2.000000 106 0:56 move second child to first child ( temp highp float) 107 0:56 'y' ( temp highp float) 108 0:56 'x' ( temp highp float) 109 0:60 Sequence 110 0:60 Sequence 111 0:60 move second child to first child ( temp highp int) 112 0:60 'x' ( temp highp int) 113 0:60 'x' ( temp highp int) 114 0:68 Sequence 115 0:68 Sequence 116 0:68 move second child to first child ( temp structure{ temp highp int x}) 117 0:68 'S' ( temp structure{ temp highp int x}) 118 0:68 Constant: 119 0:68 0 (const int) 120 0:69 x: direct index for structure ( temp highp int) 121 0:69 'S' ( temp structure{ temp highp int x}) 122 0:69 Constant: 123 0:69 0 (const int) 124 0:73 Constant: 125 0:73 0.000000 126 0:? Linker Objects 127 0:? 'b' ( global bool) 128 0:? 'gl_VertexID' ( gl_VertexId highp int VertexId) 129 0:? 'gl_InstanceID' ( gl_InstanceId highp int InstanceId) 130 131 132 Linked vertex stage: 133 134 ERROR: Linking vertex stage: No function definition (body) found: 135 g( 136 137 Shader version: 300 138 ERROR: node is still EOpNull! 139 0:3 Function Definition: f(i1;i1;i1; ( global highp int) 140 0:3 Function Parameters: 141 0:3 'a' ( in highp int) 142 0:3 'b' ( in highp int) 143 0:3 'c' ( in highp int) 144 0:? Sequence 145 0:8 Sequence 146 0:8 Sequence 147 0:8 move second child to first child ( temp highp float) 148 0:8 'a' ( temp highp float) 149 0:8 add ( temp highp float) 150 0:8 Convert int to float ( temp highp float) 151 0:8 'a' ( in highp int) 152 0:8 Constant: 153 0:8 1.000000 154 0:11 Branch: Return with expression 155 0:11 'a' ( in highp int) 156 0:36 Function Definition: main( ( global void) 157 0:36 Function Parameters: 158 0:? Sequence 159 0:39 Function Call: g( ( temp highp int) 160 0:42 'sin' ( temp highp float) 161 0:43 Constant: 162 0:43 0.000000 163 0:44 Function Call: f(i1;i1;i1; ( global highp int) 164 0:44 Constant: 165 0:44 1 (const int) 166 0:44 Constant: 167 0:44 2 (const int) 168 0:44 Constant: 169 0:44 3 (const int) 170 0:47 move second child to first child ( temp highp float) 171 0:47 'f' ( temp highp float) 172 0:47 Constant: 173 0:47 3.000000 174 0:49 move second child to first child ( temp highp 4-component vector of float) 175 0:49 'gl_Position' ( invariant gl_Position highp 4-component vector of float Position) 176 0:49 Construct vec4 ( temp highp 4-component vector of float) 177 0:49 'f' ( temp highp float) 178 0:51 Sequence 179 0:51 Sequence 180 0:51 move second child to first child ( temp highp int) 181 0:51 'f' ( temp highp int) 182 0:51 Constant: 183 0:51 0 (const int) 184 0:51 Loop with condition tested first 185 0:51 Loop Condition 186 0:51 Compare Less Than ( temp bool) 187 0:51 'f' ( temp highp int) 188 0:51 Constant: 189 0:51 10 (const int) 190 0:51 Loop Body 191 0:52 Pre-Increment ( temp highp int) 192 0:52 'f' ( temp highp int) 193 0:51 Loop Terminal Expression 194 0:51 Pre-Increment ( temp highp int) 195 0:51 'f' ( temp highp int) 196 0:54 Sequence 197 0:54 move second child to first child ( temp highp int) 198 0:54 'x' ( temp highp int) 199 0:54 Constant: 200 0:54 1 (const int) 201 0:56 Sequence 202 0:56 Sequence 203 0:56 move second child to first child ( temp highp float) 204 0:56 'x' ( temp highp float) 205 0:56 Constant: 206 0:56 2.000000 207 0:56 move second child to first child ( temp highp float) 208 0:56 'y' ( temp highp float) 209 0:56 'x' ( temp highp float) 210 0:60 Sequence 211 0:60 Sequence 212 0:60 move second child to first child ( temp highp int) 213 0:60 'x' ( temp highp int) 214 0:60 'x' ( temp highp int) 215 0:68 Sequence 216 0:68 Sequence 217 0:68 move second child to first child ( temp structure{ temp highp int x}) 218 0:68 'S' ( temp structure{ temp highp int x}) 219 0:68 Constant: 220 0:68 0 (const int) 221 0:69 x: direct index for structure ( temp highp int) 222 0:69 'S' ( temp structure{ temp highp int x}) 223 0:69 Constant: 224 0:69 0 (const int) 225 0:73 Constant: 226 0:73 0.000000 227 0:? Linker Objects 228 0:? 'b' ( global bool) 229 0:? 'gl_VertexID' ( gl_VertexId highp int VertexId) 230 0:? 'gl_InstanceID' ( gl_InstanceId highp int InstanceId) 231 232