             
             createRenderPass(commandBuffer,
                 pipeline: invertScreen ? _screenInvertState! : _screenBlitState!,
-                vertexBuffers:[currentBuffer],
+                vertexIndex: currentOffset,
                 fragmentBuffers: filterParameters,
                 sourceTextures: [sourceTexture, blurTex, _rgbTexture],
                 descriptor: screenDescriptor,

                
                createRenderPass(commandBuffer,
                    pipeline:  _blurPipelineStates[1],
                    vertexBuffers: passthroughParameters,
                    fragmentBuffers: parameters,
                    sourceTextures: [_intermediateTextures[0]],
                    descriptor: _blurDescriptor,

            }
            
            var blurTex = _rgbTexture

            if applyBlur && _currentVideoFilterUsesBlur, let args = _blurArgs {
                let parameters = [args.bufferAndOffsetForElement(_currentBlurBuffer)]
                createRenderPass(commandBuffer,
                    pipeline:  _blurPipelineStates[0],
                    vertexIndex: 0,
                    fragmentBuffers: parameters,
                    sourceTextures: [_rgbTexture],
                    descriptor: _intermediateRenderPassDescriptor[0],
