              gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_MAG_FILTER, gl[magFilter]);
                    for (const minFilter of minFilters) {
                        gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_MIN_FILTER, gl[minFilter]);
                        debug(`Program: ${program[1]}, mode: ${mode[1]}, mag: ${magFilter}, min: ${minFilter}`);

                        gl.clear(gl.COLOR_BUFFER_BIT);
                        wtu.drawUnitQuad(gl);

                        if (format.format == gl.DEPTH_COMP