DING query should succeed");

    debug("Testing binding a Sampler object");
    s1 = gl.createSampler();
    s2 = gl.createSampler();
    gl.bindSampler(0, s1);
    shouldBe("gl.getParameter(gl.SAMPLER_BINDING)", "s1");
    gl.bindSampler(0, s2);
    shouldBe("gl.getParameter(gl.SAMPLER_BINDING)", "s2");

    // Bindings should not affect other units.
    gl.bindSampler(1, s1);
    shouldBe("gl.getParameter(gl.SAMPLER_BINDING)", "s2");
    gl.activeTexture(gl.TEXTURE1);
    shouldBe("gl.getParameter(gl.SAM