u.glErrorShouldBe(gl, gl.NO_ERROR);
        shouldBeWasArr(testView.slice(i, i+4), readPixelView);

      } else {
        wtu.glErrorShouldBe(gl, gl.INVALID_OPERATION);
      }
    }

    debug("");

    var yellow565 = (0x1f << 11) | (0x3f << 5);
    var cyan565 = (0x3f << 5) | 0x1f;
    var arr565 = [yellow565, cyan565];
    var view565 = new Uint16Array(arr565);

    function rgb888to565(arr888) {
      return ((arr888[0] >> 3) << 11) | ((arr888[1] >> 2) << 5) | (arr888[2] >> 3);
    }

    for (var i =