1 precision.frag 2 ERROR: 0:3: 'float' : type requires declaration of default precision qualifier 3 ERROR: 0:18: 'int' : cannot apply precision statement to this type; use 'float', 'int' or a sampler type 4 ERROR: 0:19: 'int' : cannot apply precision statement to this type; use 'float', 'int' or a sampler type 5 ERROR: 0:21: 'float' : cannot apply precision statement to this type; use 'float', 'int' or a sampler type 6 ERROR: 0:72: 'bool' : cannot apply precision statement to this type; use 'float', 'int' or a sampler type 7 ERROR: 0:75: 'structure' : cannot apply precision statement to this type; use 'float', 'int' or a sampler type 8 ERROR: 0:76: 'bool' : type cannot have precision qualifier 9 ERROR: 7 compilation errors. No code generated. 10 11 12 Shader version: 100 13 ERROR: node is still EOpNull! 14 0:5 Function Definition: foo(vf3; ( global lowp 2-component vector of float) 15 0:5 Function Parameters: 16 0:5 'mv3' ( in mediump 3-component vector of float) 17 0:? Sequence 18 0:8 Branch: Return with expression 19 0:8 vector swizzle ( temp highp 2-component vector of float) 20 0:8 'hv4' ( temp highp 4-component vector of float) 21 0:8 Sequence 22 0:8 Constant: 23 0:8 0 (const int) 24 0:8 Constant: 25 0:8 1 (const int) 26 0:25 Function Definition: main( ( global void) 27 0:25 Function Parameters: 28 0:27 Sequence 29 0:27 Sequence 30 0:27 move second child to first child ( temp highp int) 31 0:27 'sum' ( temp lowp int) 32 0:27 add ( temp highp int) 33 0:27 'global_medium' ( global mediump int) 34 0:27 'global_high' ( global highp int) 35 0:29 move second child to first child ( temp mediump 4-component vector of float) 36 0:29 'gl_FragColor' ( fragColor mediump 4-component vector of float FragColor) 37 0:29 Construct vec4 ( temp mediump 4-component vector of float) 38 0:29 'color' ( smooth in mediump 3-component vector of float) 39 0:29 Constant: 40 0:29 1.000000 41 0:32 add second child into first child ( temp highp int) 42 0:32 'sum' ( temp lowp int) 43 0:32 'level1_high' ( temp highp int) 44 0:36 add second child into first child ( temp lowp int) 45 0:36 'sum' ( temp lowp int) 46 0:36 'level1_low' ( temp lowp int) 47 0:41 Sequence 48 0:41 move second child to first child ( temp mediump float) 49 0:41 'd' ( temp lowp float) 50 0:41 distance ( global mediump float) 51 0:41 'arg1' ( temp lowp float) 52 0:41 'arg2' ( temp mediump float) 53 0:? Sequence 54 0:45 add second child into first child ( temp lowp int) 55 0:45 'sum' ( temp lowp int) 56 0:45 'level2_low' ( temp lowp int) 57 0:49 add second child into first child ( temp highp int) 58 0:49 'sum' ( temp lowp int) 59 0:49 'level2_high' ( temp highp int) 60 0:58 Loop with condition not tested first 61 0:58 Loop Condition 62 0:58 Constant: 63 0:58 true (const bool) 64 0:58 Loop Body 65 0:51 Sequence 66 0:51 Test condition and select ( temp void) 67 0:51 Condition 68 0:51 Constant: 69 0:51 true (const bool) 70 0:51 true case 71 0:? Sequence 72 0:54 add second child into first child ( temp mediump int) 73 0:54 'sum' ( temp lowp int) 74 0:54 'level4_medium' ( temp mediump int) 75 0:57 add second child into first child ( temp highp int) 76 0:57 'sum' ( temp lowp int) 77 0:57 'level3_high' ( temp highp int) 78 0:60 add second child into first child ( temp highp int) 79 0:60 'sum' ( temp lowp int) 80 0:60 'level2_high2' ( temp highp int) 81 0:63 add second child into first child ( temp lowp int) 82 0:63 'sum' ( temp lowp int) 83 0:63 'level1_low3' ( temp lowp int) 84 0:65 add second child into first child ( temp lowp int) 85 0:65 'sum' ( temp lowp int) 86 0:65 add ( temp lowp int) 87 0:65 Constant: 88 0:65 4 (const int) 89 0:65 direct index ( temp lowp int) 90 0:65 add ( temp lowp 2-component vector of int) 91 0:65 component-wise multiply ( temp lowp 2-component vector of int) 92 0:65 Construct ivec2 ( temp lowp 2-component vector of int) 93 0:65 'level1_low3' ( temp lowp int) 94 0:65 Construct ivec2 ( temp lowp 2-component vector of int) 95 0:65 'level1_high' ( temp highp int) 96 0:65 Construct ivec2 ( temp lowp 2-component vector of int) 97 0:65 Comma ( temp highp int) 98 0:65 'level1_low3' ( temp lowp int) 99 0:65 'level1_high' ( temp highp int) 100 0:65 Constant: 101 0:65 0 (const int) 102 0:67 texture ( global lowp 4-component vector of float) 103 0:67 'samplerLow' ( uniform lowp sampler2D) 104 0:67 Constant: 105 0:67 0.100000 106 0:67 0.200000 107 0:68 texture ( global mediump 4-component vector of float) 108 0:68 'samplerMed' ( uniform mediump sampler2D) 109 0:68 Constant: 110 0:68 0.100000 111 0:68 0.200000 112 0:69 texture ( global highp 4-component vector of float) 113 0:69 'samplerHigh' ( uniform highp sampler2D) 114 0:69 Constant: 115 0:69 0.100000 116 0:69 0.200000 117 0:? Linker Objects 118 0:? 'color' ( smooth in mediump 3-component vector of float) 119 0:? 'global_medium' ( global mediump int) 120 0:? 'samplerLow' ( uniform lowp sampler2D) 121 0:? 'samplerMed' ( uniform mediump sampler2D) 122 0:? 'samplerHigh' ( uniform highp sampler2D) 123 0:? 'uint' ( global mediump 4-component vector of float) 124 0:? 'global_high' ( global highp int) 125 0:? 'b2' ( global mediump 2-component vector of bool) 126 127 128 Linked fragment stage: 129 130 131 Shader version: 100 132 ERROR: node is still EOpNull! 133 0:25 Function Definition: main( ( global void) 134 0:25 Function Parameters: 135 0:27 Sequence 136 0:27 Sequence 137 0:27 move second child to first child ( temp highp int) 138 0:27 'sum' ( temp lowp int) 139 0:27 add ( temp highp int) 140 0:27 'global_medium' ( global mediump int) 141 0:27 'global_high' ( global highp int) 142 0:29 move second child to first child ( temp mediump 4-component vector of float) 143 0:29 'gl_FragColor' ( fragColor mediump 4-component vector of float FragColor) 144 0:29 Construct vec4 ( temp mediump 4-component vector of float) 145 0:29 'color' ( smooth in mediump 3-component vector of float) 146 0:29 Constant: 147 0:29 1.000000 148 0:32 add second child into first child ( temp highp int) 149 0:32 'sum' ( temp lowp int) 150 0:32 'level1_high' ( temp highp int) 151 0:36 add second child into first child ( temp lowp int) 152 0:36 'sum' ( temp lowp int) 153 0:36 'level1_low' ( temp lowp int) 154 0:41 Sequence 155 0:41 move second child to first child ( temp mediump float) 156 0:41 'd' ( temp lowp float) 157 0:41 distance ( global mediump float) 158 0:41 'arg1' ( temp lowp float) 159 0:41 'arg2' ( temp mediump float) 160 0:? Sequence 161 0:45 add second child into first child ( temp lowp int) 162 0:45 'sum' ( temp lowp int) 163 0:45 'level2_low' ( temp lowp int) 164 0:49 add second child into first child ( temp highp int) 165 0:49 'sum' ( temp lowp int) 166 0:49 'level2_high' ( temp highp int) 167 0:58 Loop with condition not tested first 168 0:58 Loop Condition 169 0:58 Constant: 170 0:58 true (const bool) 171 0:58 Loop Body 172 0:51 Sequence 173 0:51 Test condition and select ( temp void) 174 0:51 Condition 175 0:51 Constant: 176 0:51 true (const bool) 177 0:51 true case 178 0:? Sequence 179 0:54 add second child into first child ( temp mediump int) 180 0:54 'sum' ( temp lowp int) 181 0:54 'level4_medium' ( temp mediump int) 182 0:57 add second child into first child ( temp highp int) 183 0:57 'sum' ( temp lowp int) 184 0:57 'level3_high' ( temp highp int) 185 0:60 add second child into first child ( temp highp int) 186 0:60 'sum' ( temp lowp int) 187 0:60 'level2_high2' ( temp highp int) 188 0:63 add second child into first child ( temp lowp int) 189 0:63 'sum' ( temp lowp int) 190 0:63 'level1_low3' ( temp lowp int) 191 0:65 add second child into first child ( temp lowp int) 192 0:65 'sum' ( temp lowp int) 193 0:65 add ( temp lowp int) 194 0:65 Constant: 195 0:65 4 (const int) 196 0:65 direct index ( temp lowp int) 197 0:65 add ( temp lowp 2-component vector of int) 198 0:65 component-wise multiply ( temp lowp 2-component vector of int) 199 0:65 Construct ivec2 ( temp lowp 2-component vector of int) 200 0:65 'level1_low3' ( temp lowp int) 201 0:65 Construct ivec2 ( temp lowp 2-component vector of int) 202 0:65 'level1_high' ( temp highp int) 203 0:65 Construct ivec2 ( temp lowp 2-component vector of int) 204 0:65 Comma ( temp highp int) 205 0:65 'level1_low3' ( temp lowp int) 206 0:65 'level1_high' ( temp highp int) 207 0:65 Constant: 208 0:65 0 (const int) 209 0:67 texture ( global lowp 4-component vector of float) 210 0:67 'samplerLow' ( uniform lowp sampler2D) 211 0:67 Constant: 212 0:67 0.100000 213 0:67 0.200000 214 0:68 texture ( global mediump 4-component vector of float) 215 0:68 'samplerMed' ( uniform mediump sampler2D) 216 0:68 Constant: 217 0:68 0.100000 218 0:68 0.200000 219 0:69 texture ( global highp 4-component vector of float) 220 0:69 'samplerHigh' ( uniform highp sampler2D) 221 0:69 Constant: 222 0:69 0.100000 223 0:69 0.200000 224 0:? Linker Objects 225 0:? 'color' ( smooth in mediump 3-component vector of float) 226 0:? 'global_medium' ( global mediump int) 227 0:? 'samplerLow' ( uniform lowp sampler2D) 228 0:? 'samplerMed' ( uniform mediump sampler2D) 229 0:? 'samplerHigh' ( uniform highp sampler2D) 230 0:? 'uint' ( global mediump 4-component vector of float) 231 0:? 'global_high' ( global highp int) 232 0:? 'b2' ( global mediump 2-component vector of bool) 233 234