John Kessenich | cc16fa0 | 2015-12-10 18:01:54 -0700 | [diff] [blame^] | 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:5 Function Definition: foo(vf3; (global lowp 2-component vector of float) |
| 134 | 0:5 Function Parameters: |
| 135 | 0:5 'mv3' (in mediump 3-component vector of float) |
| 136 | 0:? Sequence |
| 137 | 0:8 Branch: Return with expression |
| 138 | 0:8 vector swizzle (temp highp 2-component vector of float) |
| 139 | 0:8 'hv4' (temp highp 4-component vector of float) |
| 140 | 0:8 Sequence |
| 141 | 0:8 Constant: |
| 142 | 0:8 0 (const int) |
| 143 | 0:8 Constant: |
| 144 | 0:8 1 (const int) |
| 145 | 0:25 Function Definition: main( (global void) |
| 146 | 0:25 Function Parameters: |
| 147 | 0:27 Sequence |
| 148 | 0:27 Sequence |
| 149 | 0:27 move second child to first child (temp highp int) |
| 150 | 0:27 'sum' (temp lowp int) |
| 151 | 0:27 add (temp highp int) |
| 152 | 0:27 'global_medium' (global mediump int) |
| 153 | 0:27 'global_high' (global highp int) |
| 154 | 0:29 move second child to first child (temp mediump 4-component vector of float) |
| 155 | 0:29 'gl_FragColor' (fragColor mediump 4-component vector of float FragColor) |
| 156 | 0:29 Construct vec4 (temp mediump 4-component vector of float) |
| 157 | 0:29 'color' (smooth in mediump 3-component vector of float) |
| 158 | 0:29 Constant: |
| 159 | 0:29 1.000000 |
| 160 | 0:32 add second child into first child (temp highp int) |
| 161 | 0:32 'sum' (temp lowp int) |
| 162 | 0:32 'level1_high' (temp highp int) |
| 163 | 0:36 add second child into first child (temp lowp int) |
| 164 | 0:36 'sum' (temp lowp int) |
| 165 | 0:36 'level1_low' (temp lowp int) |
| 166 | 0:41 Sequence |
| 167 | 0:41 move second child to first child (temp mediump float) |
| 168 | 0:41 'd' (temp lowp float) |
| 169 | 0:41 distance (global mediump float) |
| 170 | 0:41 'arg1' (temp lowp float) |
| 171 | 0:41 'arg2' (temp mediump float) |
| 172 | 0:? Sequence |
| 173 | 0:45 add second child into first child (temp lowp int) |
| 174 | 0:45 'sum' (temp lowp int) |
| 175 | 0:45 'level2_low' (temp lowp int) |
| 176 | 0:49 add second child into first child (temp highp int) |
| 177 | 0:49 'sum' (temp lowp int) |
| 178 | 0:49 'level2_high' (temp highp int) |
| 179 | 0:58 Loop with condition not tested first |
| 180 | 0:58 Loop Condition |
| 181 | 0:58 Constant: |
| 182 | 0:58 true (const bool) |
| 183 | 0:58 Loop Body |
| 184 | 0:51 Sequence |
| 185 | 0:51 Test condition and select (temp void) |
| 186 | 0:51 Condition |
| 187 | 0:51 Constant: |
| 188 | 0:51 true (const bool) |
| 189 | 0:51 true case |
| 190 | 0:? Sequence |
| 191 | 0:54 add second child into first child (temp mediump int) |
| 192 | 0:54 'sum' (temp lowp int) |
| 193 | 0:54 'level4_medium' (temp mediump int) |
| 194 | 0:57 add second child into first child (temp highp int) |
| 195 | 0:57 'sum' (temp lowp int) |
| 196 | 0:57 'level3_high' (temp highp int) |
| 197 | 0:60 add second child into first child (temp highp int) |
| 198 | 0:60 'sum' (temp lowp int) |
| 199 | 0:60 'level2_high2' (temp highp int) |
| 200 | 0:63 add second child into first child (temp lowp int) |
| 201 | 0:63 'sum' (temp lowp int) |
| 202 | 0:63 'level1_low3' (temp lowp int) |
| 203 | 0:65 add second child into first child (temp lowp int) |
| 204 | 0:65 'sum' (temp lowp int) |
| 205 | 0:65 add (temp lowp int) |
| 206 | 0:65 Constant: |
| 207 | 0:65 4 (const int) |
| 208 | 0:65 direct index (temp lowp int) |
| 209 | 0:65 add (temp lowp 2-component vector of int) |
| 210 | 0:65 component-wise multiply (temp lowp 2-component vector of int) |
| 211 | 0:65 Construct ivec2 (temp lowp 2-component vector of int) |
| 212 | 0:65 'level1_low3' (temp lowp int) |
| 213 | 0:65 Construct ivec2 (temp lowp 2-component vector of int) |
| 214 | 0:65 'level1_high' (temp highp int) |
| 215 | 0:65 Construct ivec2 (temp lowp 2-component vector of int) |
| 216 | 0:65 Comma (temp highp int) |
| 217 | 0:65 'level1_low3' (temp lowp int) |
| 218 | 0:65 'level1_high' (temp highp int) |
| 219 | 0:65 Constant: |
| 220 | 0:65 0 (const int) |
| 221 | 0:67 texture (global lowp 4-component vector of float) |
| 222 | 0:67 'samplerLow' (uniform lowp sampler2D) |
| 223 | 0:67 Constant: |
| 224 | 0:67 0.100000 |
| 225 | 0:67 0.200000 |
| 226 | 0:68 texture (global mediump 4-component vector of float) |
| 227 | 0:68 'samplerMed' (uniform mediump sampler2D) |
| 228 | 0:68 Constant: |
| 229 | 0:68 0.100000 |
| 230 | 0:68 0.200000 |
| 231 | 0:69 texture (global highp 4-component vector of float) |
| 232 | 0:69 'samplerHigh' (uniform highp sampler2D) |
| 233 | 0:69 Constant: |
| 234 | 0:69 0.100000 |
| 235 | 0:69 0.200000 |
| 236 | 0:? Linker Objects |
| 237 | 0:? 'color' (smooth in mediump 3-component vector of float) |
| 238 | 0:? 'global_medium' (global mediump int) |
| 239 | 0:? 'samplerLow' (uniform lowp sampler2D) |
| 240 | 0:? 'samplerMed' (uniform mediump sampler2D) |
| 241 | 0:? 'samplerHigh' (uniform highp sampler2D) |
| 242 | 0:? 'uint' (global mediump 4-component vector of float) |
| 243 | 0:? 'global_high' (global highp int) |
| 244 | 0:? 'b2' (global mediump 2-component vector of bool) |
| 245 | |