         var destDescriptor:MTLRenderPassDescriptor = _intermediateRenderPassDescriptor[_currentDestTexture]
         
         func swapTextures() {
-            self._currentSourceTexture++
+            self._currentSourceTexture += 1
             sourceTexture = self._intermediateTextures[self._currentSourceTexture]
             destDescriptor = self._intermediateRenderPassDescriptor[self._currentDestTexture]
         }

            (0, offsets[1] * texelHeight),
            (0, offsets[2] * texelHeight)
        )
        _currentBlurBuffer++
    }
    
    func setColorBuffer() {
        let nextBuffer = (_currentColorBuffer + 1) % _numberShaderBuffers
        _currentColorBuffer++

        if _currentColorConvolution.count == 9 {
            _colorArgs[nextBuffer].yuvToRGB?.set(

    
    func setFilterBuffer() {
        let nextBuffer = (_currentFilterBuffer + 1) % _numberShaderBuffers
        _currentFilterBuffer += 1

        let currentBuffer = _filterArgs[nextBuffer]
        if invertScreen {
