1 Verifies texImage2D and texSubImage2D code paths taking ArrayBufferView
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
5 Testing texImage2D with type=UNSIGNED_BYTE, unpackAlignment=1, flipY=true, premultiplyAlpha=false
7 PASS shouldBe 0,255,0,255
9 PASS shouldBe 255,0,0,255
10 Testing texImage2D with type=UNSIGNED_BYTE, unpackAlignment=1, flipY=false, premultiplyAlpha=false
12 PASS shouldBe 255,0,0,255
14 PASS shouldBe 0,255,0,255
15 Testing texImage2D with type=UNSIGNED_BYTE, unpackAlignment=1, flipY=true, premultiplyAlpha=true
17 PASS shouldBe 0,0,0,255
19 PASS shouldBe 255,0,0,255
20 Testing texImage2D with type=UNSIGNED_BYTE, unpackAlignment=1, flipY=false, premultiplyAlpha=true
22 PASS shouldBe 255,0,0,255
24 PASS shouldBe 0,0,0,255
25 Testing texSubImage2D with type=UNSIGNED_BYTE, unpackAlignment=1, flipY=true, premultiplyAlpha=false
27 PASS shouldBe 0,255,0,255
29 PASS shouldBe 255,0,0,255
30 Testing texSubImage2D with type=UNSIGNED_BYTE, unpackAlignment=1, flipY=false, premultiplyAlpha=false
32 PASS shouldBe 255,0,0,255
34 PASS shouldBe 0,255,0,255
35 Testing texSubImage2D with type=UNSIGNED_BYTE, unpackAlignment=1, flipY=true, premultiplyAlpha=true
37 PASS shouldBe 0,0,0,255
39 PASS shouldBe 255,0,0,255
40 Testing texSubImage2D with type=UNSIGNED_BYTE, unpackAlignment=1, flipY=false, premultiplyAlpha=true
42 PASS shouldBe 255,0,0,255
44 PASS shouldBe 0,0,0,255
45 Testing texImage2D with type=UNSIGNED_BYTE, unpackAlignment=2, flipY=true, premultiplyAlpha=false
47 PASS shouldBe 0,255,0,255
49 PASS shouldBe 255,0,0,255
50 Testing texImage2D with type=UNSIGNED_BYTE, unpackAlignment=2, flipY=false, premultiplyAlpha=false
52 PASS shouldBe 255,0,0,255
54 PASS shouldBe 0,255,0,255
55 Testing texImage2D with type=UNSIGNED_BYTE, unpackAlignment=2, flipY=true, premultiplyAlpha=true
57 PASS shouldBe 0,0,0,255
59 PASS shouldBe 255,0,0,255
60 Testing texImage2D with type=UNSIGNED_BYTE, unpackAlignment=2, flipY=false, premultiplyAlpha=true
62 PASS shouldBe 255,0,0,255
64 PASS shouldBe 0,0,0,255
65 Testing texSubImage2D with type=UNSIGNED_BYTE, unpackAlignment=2, flipY=true, premultiplyAlpha=false
67 PASS shouldBe 0,255,0,255
69 PASS shouldBe 255,0,0,255
70 Testing texSubImage2D with type=UNSIGNED_BYTE, unpackAlignment=2, flipY=false, premultiplyAlpha=false
72 PASS shouldBe 255,0,0,255
74 PASS shouldBe 0,255,0,255
75 Testing texSubImage2D with type=UNSIGNED_BYTE, unpackAlignment=2, flipY=true, premultiplyAlpha=true
77 PASS shouldBe 0,0,0,255
79 PASS shouldBe 255,0,0,255
80 Testing texSubImage2D with type=UNSIGNED_BYTE, unpackAlignment=2, flipY=false, premultiplyAlpha=true
82 PASS shouldBe 255,0,0,255
84 PASS shouldBe 0,0,0,255
85 Testing texImage2D with type=UNSIGNED_BYTE, unpackAlignment=4, flipY=true, premultiplyAlpha=false
87 PASS shouldBe 0,255,0,255
89 PASS shouldBe 255,0,0,255
90 Testing texImage2D with type=UNSIGNED_BYTE, unpackAlignment=4, flipY=false, premultiplyAlpha=false
92 PASS shouldBe 255,0,0,255
94 PASS shouldBe 0,255,0,255
95 Testing texImage2D with type=UNSIGNED_BYTE, unpackAlignment=4, flipY=true, premultiplyAlpha=true
97 PASS shouldBe 0,0,0,255
99 PASS shouldBe 255,0,0,255
100 Testing texImage2D with type=UNSIGNED_BYTE, unpackAlignment=4, flipY=false, premultiplyAlpha=true
101 Checking bottom pixel
102 PASS shouldBe 255,0,0,255
104 PASS shouldBe 0,0,0,255
105 Testing texSubImage2D with type=UNSIGNED_BYTE, unpackAlignment=4, flipY=true, premultiplyAlpha=false
106 Checking bottom pixel
107 PASS shouldBe 0,255,0,255
109 PASS shouldBe 255,0,0,255
110 Testing texSubImage2D with type=UNSIGNED_BYTE, unpackAlignment=4, flipY=false, premultiplyAlpha=false
111 Checking bottom pixel
112 PASS shouldBe 255,0,0,255
114 PASS shouldBe 0,255,0,255
115 Testing texSubImage2D with type=UNSIGNED_BYTE, unpackAlignment=4, flipY=true, premultiplyAlpha=true
116 Checking bottom pixel
117 PASS shouldBe 0,0,0,255
119 PASS shouldBe 255,0,0,255
120 Testing texSubImage2D with type=UNSIGNED_BYTE, unpackAlignment=4, flipY=false, premultiplyAlpha=true
121 Checking bottom pixel
122 PASS shouldBe 255,0,0,255
124 PASS shouldBe 0,0,0,255
125 Testing texImage2D with type=UNSIGNED_BYTE, unpackAlignment=8, flipY=true, premultiplyAlpha=false
126 Checking bottom pixel
127 PASS shouldBe 0,255,0,255
129 PASS shouldBe 255,0,0,255
130 Testing texImage2D with type=UNSIGNED_BYTE, unpackAlignment=8, flipY=false, premultiplyAlpha=false
131 Checking bottom pixel
132 PASS shouldBe 255,0,0,255
134 PASS shouldBe 0,255,0,255
135 Testing texImage2D with type=UNSIGNED_BYTE, unpackAlignment=8, flipY=true, premultiplyAlpha=true
136 Checking bottom pixel
137 PASS shouldBe 0,0,0,255
139 PASS shouldBe 255,0,0,255
140 Testing texImage2D with type=UNSIGNED_BYTE, unpackAlignment=8, flipY=false, premultiplyAlpha=true
141 Checking bottom pixel
142 PASS shouldBe 255,0,0,255
144 PASS shouldBe 0,0,0,255
145 Testing texSubImage2D with type=UNSIGNED_BYTE, unpackAlignment=8, flipY=true, premultiplyAlpha=false
146 Checking bottom pixel
147 PASS shouldBe 0,255,0,255
149 PASS shouldBe 255,0,0,255
150 Testing texSubImage2D with type=UNSIGNED_BYTE, unpackAlignment=8, flipY=false, premultiplyAlpha=false
151 Checking bottom pixel
152 PASS shouldBe 255,0,0,255
154 PASS shouldBe 0,255,0,255
155 Testing texSubImage2D with type=UNSIGNED_BYTE, unpackAlignment=8, flipY=true, premultiplyAlpha=true
156 Checking bottom pixel
157 PASS shouldBe 0,0,0,255
159 PASS shouldBe 255,0,0,255
160 Testing texSubImage2D with type=UNSIGNED_BYTE, unpackAlignment=8, flipY=false, premultiplyAlpha=true
161 Checking bottom pixel
162 PASS shouldBe 255,0,0,255
164 PASS shouldBe 0,0,0,255
165 Testing texImage2D with type=UNSIGNED_SHORT_5_5_5_1, unpackAlignment=1, flipY=true, premultiplyAlpha=false
166 Checking bottom pixel
167 PASS shouldBe 0,255,0,255
169 PASS shouldBe 255,0,0,255
170 Testing texImage2D with type=UNSIGNED_SHORT_5_5_5_1, unpackAlignment=1, flipY=false, premultiplyAlpha=false
171 Checking bottom pixel
172 PASS shouldBe 255,0,0,255
174 PASS shouldBe 0,255,0,255
175 Testing texImage2D with type=UNSIGNED_SHORT_5_5_5_1, unpackAlignment=1, flipY=true, premultiplyAlpha=true
176 Checking bottom pixel
177 PASS shouldBe 0,0,0,255
179 PASS shouldBe 255,0,0,255
180 Testing texImage2D with type=UNSIGNED_SHORT_5_5_5_1, unpackAlignment=1, flipY=false, premultiplyAlpha=true
181 Checking bottom pixel
182 PASS shouldBe 255,0,0,255
184 PASS shouldBe 0,0,0,255
185 Testing texSubImage2D with type=UNSIGNED_SHORT_5_5_5_1, unpackAlignment=1, flipY=true, premultiplyAlpha=false
186 Checking bottom pixel
187 PASS shouldBe 0,255,0,255
189 PASS shouldBe 255,0,0,255
190 Testing texSubImage2D with type=UNSIGNED_SHORT_5_5_5_1, unpackAlignment=1, flipY=false, premultiplyAlpha=false
191 Checking bottom pixel
192 PASS shouldBe 255,0,0,255
194 PASS shouldBe 0,255,0,255
195 Testing texSubImage2D with type=UNSIGNED_SHORT_5_5_5_1, unpackAlignment=1, flipY=true, premultiplyAlpha=true
196 Checking bottom pixel
197 PASS shouldBe 0,0,0,255
199 PASS shouldBe 255,0,0,255
200 Testing texSubImage2D with type=UNSIGNED_SHORT_5_5_5_1, unpackAlignment=1, flipY=false, premultiplyAlpha=true
201 Checking bottom pixel
202 PASS shouldBe 255,0,0,255
204 PASS shouldBe 0,0,0,255
205 Testing texImage2D with type=UNSIGNED_SHORT_5_5_5_1, unpackAlignment=2, flipY=true, premultiplyAlpha=false
206 Checking bottom pixel
207 PASS shouldBe 0,255,0,255
209 PASS shouldBe 255,0,0,255
210 Testing texImage2D with type=UNSIGNED_SHORT_5_5_5_1, unpackAlignment=2, flipY=false, premultiplyAlpha=false
211 Checking bottom pixel
212 PASS shouldBe 255,0,0,255
214 PASS shouldBe 0,255,0,255
215 Testing texImage2D with type=UNSIGNED_SHORT_5_5_5_1, unpackAlignment=2, flipY=true, premultiplyAlpha=true
216 Checking bottom pixel
217 PASS shouldBe 0,0,0,255
219 PASS shouldBe 255,0,0,255
220 Testing texImage2D with type=UNSIGNED_SHORT_5_5_5_1, unpackAlignment=2, flipY=false, premultiplyAlpha=true
221 Checking bottom pixel
222 PASS shouldBe 255,0,0,255
224 PASS shouldBe 0,0,0,255
225 Testing texSubImage2D with type=UNSIGNED_SHORT_5_5_5_1, unpackAlignment=2, flipY=true, premultiplyAlpha=false
226 Checking bottom pixel
227 PASS shouldBe 0,255,0,255
229 PASS shouldBe 255,0,0,255
230 Testing texSubImage2D with type=UNSIGNED_SHORT_5_5_5_1, unpackAlignment=2, flipY=false, premultiplyAlpha=false
231 Checking bottom pixel
232 PASS shouldBe 255,0,0,255
234 PASS shouldBe 0,255,0,255
235 Testing texSubImage2D with type=UNSIGNED_SHORT_5_5_5_1, unpackAlignment=2, flipY=true, premultiplyAlpha=true
236 Checking bottom pixel
237 PASS shouldBe 0,0,0,255
239 PASS shouldBe 255,0,0,255
240 Testing texSubImage2D with type=UNSIGNED_SHORT_5_5_5_1, unpackAlignment=2, flipY=false, premultiplyAlpha=true
241 Checking bottom pixel
242 PASS shouldBe 255,0,0,255
244 PASS shouldBe 0,0,0,255
245 Testing texImage2D with type=UNSIGNED_SHORT_5_5_5_1, unpackAlignment=4, flipY=true, premultiplyAlpha=false
246 Checking bottom pixel
247 PASS shouldBe 0,255,0,255
249 PASS shouldBe 255,0,0,255
250 Testing texImage2D with type=UNSIGNED_SHORT_5_5_5_1, unpackAlignment=4, flipY=false, premultiplyAlpha=false
251 Checking bottom pixel
252 PASS shouldBe 255,0,0,255
254 PASS shouldBe 0,255,0,255
255 Testing texImage2D with type=UNSIGNED_SHORT_5_5_5_1, unpackAlignment=4, flipY=true, premultiplyAlpha=true
256 Checking bottom pixel
257 PASS shouldBe 0,0,0,255
259 PASS shouldBe 255,0,0,255
260 Testing texImage2D with type=UNSIGNED_SHORT_5_5_5_1, unpackAlignment=4, flipY=false, premultiplyAlpha=true
261 Checking bottom pixel
262 PASS shouldBe 255,0,0,255
264 PASS shouldBe 0,0,0,255
265 Testing texSubImage2D with type=UNSIGNED_SHORT_5_5_5_1, unpackAlignment=4, flipY=true, premultiplyAlpha=false
266 Checking bottom pixel
267 PASS shouldBe 0,255,0,255
269 PASS shouldBe 255,0,0,255
270 Testing texSubImage2D with type=UNSIGNED_SHORT_5_5_5_1, unpackAlignment=4, flipY=false, premultiplyAlpha=false
271 Checking bottom pixel
272 PASS shouldBe 255,0,0,255
274 PASS shouldBe 0,255,0,255
275 Testing texSubImage2D with type=UNSIGNED_SHORT_5_5_5_1, unpackAlignment=4, flipY=true, premultiplyAlpha=true
276 Checking bottom pixel
277 PASS shouldBe 0,0,0,255
279 PASS shouldBe 255,0,0,255
280 Testing texSubImage2D with type=UNSIGNED_SHORT_5_5_5_1, unpackAlignment=4, flipY=false, premultiplyAlpha=true
281 Checking bottom pixel
282 PASS shouldBe 255,0,0,255
284 PASS shouldBe 0,0,0,255
285 Testing texImage2D with type=UNSIGNED_SHORT_5_5_5_1, unpackAlignment=8, flipY=true, premultiplyAlpha=false
286 Checking bottom pixel
287 PASS shouldBe 0,255,0,255
289 PASS shouldBe 255,0,0,255
290 Testing texImage2D with type=UNSIGNED_SHORT_5_5_5_1, unpackAlignment=8, flipY=false, premultiplyAlpha=false
291 Checking bottom pixel
292 PASS shouldBe 255,0,0,255
294 PASS shouldBe 0,255,0,255
295 Testing texImage2D with type=UNSIGNED_SHORT_5_5_5_1, unpackAlignment=8, flipY=true, premultiplyAlpha=true
296 Checking bottom pixel
297 PASS shouldBe 0,0,0,255
299 PASS shouldBe 255,0,0,255
300 Testing texImage2D with type=UNSIGNED_SHORT_5_5_5_1, unpackAlignment=8, flipY=false, premultiplyAlpha=true
301 Checking bottom pixel
302 PASS shouldBe 255,0,0,255
304 PASS shouldBe 0,0,0,255
305 Testing texSubImage2D with type=UNSIGNED_SHORT_5_5_5_1, unpackAlignment=8, flipY=true, premultiplyAlpha=false
306 Checking bottom pixel
307 PASS shouldBe 0,255,0,255
309 PASS shouldBe 255,0,0,255
310 Testing texSubImage2D with type=UNSIGNED_SHORT_5_5_5_1, unpackAlignment=8, flipY=false, premultiplyAlpha=false
311 Checking bottom pixel
312 PASS shouldBe 255,0,0,255
314 PASS shouldBe 0,255,0,255
315 Testing texSubImage2D with type=UNSIGNED_SHORT_5_5_5_1, unpackAlignment=8, flipY=true, premultiplyAlpha=true
316 Checking bottom pixel
317 PASS shouldBe 0,0,0,255
319 PASS shouldBe 255,0,0,255
320 Testing texSubImage2D with type=UNSIGNED_SHORT_5_5_5_1, unpackAlignment=8, flipY=false, premultiplyAlpha=true
321 Checking bottom pixel
322 PASS shouldBe 255,0,0,255
324 PASS shouldBe 0,0,0,255
325 Testing texImage2D with type=UNSIGNED_SHORT_4_4_4_4, unpackAlignment=1, flipY=true, premultiplyAlpha=false
326 Checking bottom pixel
327 PASS shouldBe 0,255,0,255
329 PASS shouldBe 255,0,0,255
330 Testing texImage2D with type=UNSIGNED_SHORT_4_4_4_4, unpackAlignment=1, flipY=false, premultiplyAlpha=false
331 Checking bottom pixel
332 PASS shouldBe 255,0,0,255
334 PASS shouldBe 0,255,0,255
335 Testing texImage2D with type=UNSIGNED_SHORT_4_4_4_4, unpackAlignment=1, flipY=true, premultiplyAlpha=true
336 Checking bottom pixel
337 PASS shouldBe 0,0,0,255
339 PASS shouldBe 255,0,0,255
340 Testing texImage2D with type=UNSIGNED_SHORT_4_4_4_4, unpackAlignment=1, flipY=false, premultiplyAlpha=true
341 Checking bottom pixel
342 PASS shouldBe 255,0,0,255
344 PASS shouldBe 0,0,0,255
345 Testing texSubImage2D with type=UNSIGNED_SHORT_4_4_4_4, unpackAlignment=1, flipY=true, premultiplyAlpha=false
346 Checking bottom pixel
347 PASS shouldBe 0,255,0,255
349 PASS shouldBe 255,0,0,255
350 Testing texSubImage2D with type=UNSIGNED_SHORT_4_4_4_4, unpackAlignment=1, flipY=false, premultiplyAlpha=false
351 Checking bottom pixel
352 PASS shouldBe 255,0,0,255
354 PASS shouldBe 0,255,0,255
355 Testing texSubImage2D with type=UNSIGNED_SHORT_4_4_4_4, unpackAlignment=1, flipY=true, premultiplyAlpha=true
356 Checking bottom pixel
357 PASS shouldBe 0,0,0,255
359 PASS shouldBe 255,0,0,255
360 Testing texSubImage2D with type=UNSIGNED_SHORT_4_4_4_4, unpackAlignment=1, flipY=false, premultiplyAlpha=true
361 Checking bottom pixel
362 PASS shouldBe 255,0,0,255
364 PASS shouldBe 0,0,0,255
365 Testing texImage2D with type=UNSIGNED_SHORT_4_4_4_4, unpackAlignment=2, flipY=true, premultiplyAlpha=false
366 Checking bottom pixel
367 PASS shouldBe 0,255,0,255
369 PASS shouldBe 255,0,0,255
370 Testing texImage2D with type=UNSIGNED_SHORT_4_4_4_4, unpackAlignment=2, flipY=false, premultiplyAlpha=false
371 Checking bottom pixel
372 PASS shouldBe 255,0,0,255
374 PASS shouldBe 0,255,0,255
375 Testing texImage2D with type=UNSIGNED_SHORT_4_4_4_4, unpackAlignment=2, flipY=true, premultiplyAlpha=true
376 Checking bottom pixel
377 PASS shouldBe 0,0,0,255
379 PASS shouldBe 255,0,0,255
380 Testing texImage2D with type=UNSIGNED_SHORT_4_4_4_4, unpackAlignment=2, flipY=false, premultiplyAlpha=true
381 Checking bottom pixel
382 PASS shouldBe 255,0,0,255
384 PASS shouldBe 0,0,0,255
385 Testing texSubImage2D with type=UNSIGNED_SHORT_4_4_4_4, unpackAlignment=2, flipY=true, premultiplyAlpha=false
386 Checking bottom pixel
387 PASS shouldBe 0,255,0,255
389 PASS shouldBe 255,0,0,255
390 Testing texSubImage2D with type=UNSIGNED_SHORT_4_4_4_4, unpackAlignment=2, flipY=false, premultiplyAlpha=false
391 Checking bottom pixel
392 PASS shouldBe 255,0,0,255
394 PASS shouldBe 0,255,0,255
395 Testing texSubImage2D with type=UNSIGNED_SHORT_4_4_4_4, unpackAlignment=2, flipY=true, premultiplyAlpha=true
396 Checking bottom pixel
397 PASS shouldBe 0,0,0,255
399 PASS shouldBe 255,0,0,255
400 Testing texSubImage2D with type=UNSIGNED_SHORT_4_4_4_4, unpackAlignment=2, flipY=false, premultiplyAlpha=true
401 Checking bottom pixel
402 PASS shouldBe 255,0,0,255
404 PASS shouldBe 0,0,0,255
405 Testing texImage2D with type=UNSIGNED_SHORT_4_4_4_4, unpackAlignment=4, flipY=true, premultiplyAlpha=false
406 Checking bottom pixel
407 PASS shouldBe 0,255,0,255
409 PASS shouldBe 255,0,0,255
410 Testing texImage2D with type=UNSIGNED_SHORT_4_4_4_4, unpackAlignment=4, flipY=false, premultiplyAlpha=false
411 Checking bottom pixel
412 PASS shouldBe 255,0,0,255
414 PASS shouldBe 0,255,0,255
415 Testing texImage2D with type=UNSIGNED_SHORT_4_4_4_4, unpackAlignment=4, flipY=true, premultiplyAlpha=true
416 Checking bottom pixel
417 PASS shouldBe 0,0,0,255
419 PASS shouldBe 255,0,0,255
420 Testing texImage2D with type=UNSIGNED_SHORT_4_4_4_4, unpackAlignment=4, flipY=false, premultiplyAlpha=true
421 Checking bottom pixel
422 PASS shouldBe 255,0,0,255
424 PASS shouldBe 0,0,0,255
425 Testing texSubImage2D with type=UNSIGNED_SHORT_4_4_4_4, unpackAlignment=4, flipY=true, premultiplyAlpha=false
426 Checking bottom pixel
427 PASS shouldBe 0,255,0,255
429 PASS shouldBe 255,0,0,255
430 Testing texSubImage2D with type=UNSIGNED_SHORT_4_4_4_4, unpackAlignment=4, flipY=false, premultiplyAlpha=false
431 Checking bottom pixel
432 PASS shouldBe 255,0,0,255
434 PASS shouldBe 0,255,0,255
435 Testing texSubImage2D with type=UNSIGNED_SHORT_4_4_4_4, unpackAlignment=4, flipY=true, premultiplyAlpha=true
436 Checking bottom pixel
437 PASS shouldBe 0,0,0,255
439 PASS shouldBe 255,0,0,255
440 Testing texSubImage2D with type=UNSIGNED_SHORT_4_4_4_4, unpackAlignment=4, flipY=false, premultiplyAlpha=true
441 Checking bottom pixel
442 PASS shouldBe 255,0,0,255
444 PASS shouldBe 0,0,0,255
445 Testing texImage2D with type=UNSIGNED_SHORT_4_4_4_4, unpackAlignment=8, flipY=true, premultiplyAlpha=false
446 Checking bottom pixel
447 PASS shouldBe 0,255,0,255
449 PASS shouldBe 255,0,0,255
450 Testing texImage2D with type=UNSIGNED_SHORT_4_4_4_4, unpackAlignment=8, flipY=false, premultiplyAlpha=false
451 Checking bottom pixel
452 PASS shouldBe 255,0,0,255
454 PASS shouldBe 0,255,0,255
455 Testing texImage2D with type=UNSIGNED_SHORT_4_4_4_4, unpackAlignment=8, flipY=true, premultiplyAlpha=true
456 Checking bottom pixel
457 PASS shouldBe 0,0,0,255
459 PASS shouldBe 255,0,0,255
460 Testing texImage2D with type=UNSIGNED_SHORT_4_4_4_4, unpackAlignment=8, flipY=false, premultiplyAlpha=true
461 Checking bottom pixel
462 PASS shouldBe 255,0,0,255
464 PASS shouldBe 0,0,0,255
465 Testing texSubImage2D with type=UNSIGNED_SHORT_4_4_4_4, unpackAlignment=8, flipY=true, premultiplyAlpha=false
466 Checking bottom pixel
467 PASS shouldBe 0,255,0,255
469 PASS shouldBe 255,0,0,255
470 Testing texSubImage2D with type=UNSIGNED_SHORT_4_4_4_4, unpackAlignment=8, flipY=false, premultiplyAlpha=false
471 Checking bottom pixel
472 PASS shouldBe 255,0,0,255
474 PASS shouldBe 0,255,0,255
475 Testing texSubImage2D with type=UNSIGNED_SHORT_4_4_4_4, unpackAlignment=8, flipY=true, premultiplyAlpha=true
476 Checking bottom pixel
477 PASS shouldBe 0,0,0,255
479 PASS shouldBe 255,0,0,255
480 Testing texSubImage2D with type=UNSIGNED_SHORT_4_4_4_4, unpackAlignment=8, flipY=false, premultiplyAlpha=true
481 Checking bottom pixel
482 PASS shouldBe 255,0,0,255
484 PASS shouldBe 0,0,0,255
485 PASS successfullyParsed is true