.TEXTURE_2D, 0, 0, 0, 4, 4, compressedFormat,
                               view, viewOffset, compressedByteCount);
  };

  var fn3D = function(viewOffset) {
    gl.compressedTexImage3D(gl.TEXTURE_2D_ARRAY, 0, compressedFormat, 4, 4, 1, 0,
                            view, viewOffset, compressedByteCount);
  };

  var fnSub3D = function(viewOffset) {
    gl.compressedTexImage3D(gl.TEXTURE_2D_ARRAY, 0, compressedFormat, 4, 4, 1, 0,
                            view, 0, compressedByteCount);
    gl.compressed