Verify texImage2D and texSubImage2D code paths taking image elements (RGBA/UNSIGNED_SHORT_4_4_4_4) On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". Testing texImage2D with flipY=true Checking lower left corner PASS shouldBe 0,255,0 Checking upper left corner PASS shouldBe 255,0,0 Testing texImage2D with flipY=false Checking lower left corner PASS shouldBe 255,0,0 Checking upper left corner PASS shouldBe 0,255,0 Testing texSubImage2D with flipY=true Checking lower left corner PASS shouldBe 0,255,0 Checking upper left corner PASS shouldBe 255,0,0 Testing texSubImage2D with flipY=false Checking lower left corner PASS shouldBe 255,0,0 Checking upper left corner PASS shouldBe 0,255,0 Testing texImage2D with flipY=true Checking lower left corner PASS shouldBe 0,255,0 Checking upper left corner FAIL shouldBe 255,0,0 at (0, 0) expected: 255,0,0 was 0,0,255 Testing texImage2D with flipY=false Checking lower left corner FAIL shouldBe 255,0,0 at (0, 0) expected: 255,0,0 was 0,0,255 Checking upper left corner PASS shouldBe 0,255,0 Testing texSubImage2D with flipY=true Checking lower left corner PASS shouldBe 0,255,0 Checking upper left corner FAIL shouldBe 255,0,0 at (0, 0) expected: 255,0,0 was 0,0,255 Testing texSubImage2D with flipY=false Checking lower left corner FAIL shouldBe 255,0,0 at (0, 0) expected: 255,0,0 was 0,0,255 Checking upper left corner PASS shouldBe 0,255,0 Testing texImage2D with flipY=true Checking lower left corner PASS shouldBe 0,255,0 Checking upper left corner FAIL shouldBe 255,0,0 at (0, 0) expected: 255,0,0 was 0,0,255 Testing texImage2D with flipY=false Checking lower left corner FAIL shouldBe 255,0,0 at (0, 0) expected: 255,0,0 was 0,0,255 Checking upper left corner PASS shouldBe 0,255,0 Testing texSubImage2D with flipY=true Checking lower left corner PASS shouldBe 0,255,0 Checking upper left corner FAIL shouldBe 255,0,0 at (0, 0) expected: 255,0,0 was 0,0,255 Testing texSubImage2D with flipY=false Checking lower left corner FAIL shouldBe 255,0,0 at (0, 0) expected: 255,0,0 was 0,0,255 Checking upper left corner PASS shouldBe 0,255,0 PASS getError was expected value: NO_ERROR : should be no errors PASS successfullyParsed is true Some tests failed. TEST COMPLETE