ONENT || mode[0] == gl.DEPTH_COMPONENT) {
                            if (program[1] == 'depth') {
                                wtu.glErrorShouldBe(gl, gl.NO_ERROR, "should be no errors");
                                if (validFilters(gl[magFilter], gl[minFilter])) {
                                    wtu.checkCanvasRect(gl, 0, 0, 1, 1, [128, 0, 0, 255], "sampling depth from complete texture", 1);
                                } else {
                                    wtu.checkCanvasRect(gl, 0, 