me: gl.TEXTURE_COMPARE_FUNC,  param: gl.NOTEQUAL },
      { pname: gl.TEXTURE_COMPARE_FUNC,  param: gl.ALWAYS },
      { pname: gl.TEXTURE_COMPARE_FUNC,  param: gl.NEVER },
    ];

    for (var ii = 0; ii < testCases.length; ++ii) {
        var pname = testCases[ii].pname;
        var param = testCases[ii].param;
        wtu.shouldGenerateGLError(gl, gl.NO_ERROR, "gl.samplerParameteri(s, " + pname + ", " + param + ")");
        shouldBe("gl.getSamplerParameter(s, " + pname + ")", param);
        wtu.glError