EXTURE_WRAP_T, ext.MIRROR_CLAMP_TO_EDGE_EXT);

    gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_MAG_FILTER, gl.NEAREST);
    gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_MIN_FILTER, gl.NEAREST);
    wtu.glErrorShouldBe(gl, gl.NO_ERROR, "texture created and configured");

    wtu.drawUnitQuad(gl);
    checkPixels();

    if (!gl.createSampler) return;

    debug("");
    debug(`Check texture sampling with mirror-clamp-to-edge mode using a sampler object`);

    const texWithSampler = gl.createTexture();
    gl.b