DeconvolutionSharpenEffect needs texture bounce.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Mon, 21 Jan 2013 22:29:11 +0000 (23:29 +0100)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Mon, 21 Jan 2013 22:29:11 +0000 (23:29 +0100)
Anything else will be incredibly slow. Reported by Christophe Thommeret.

deconvolution_sharpen_effect.h

index d0987f2..293916f 100644 (file)
@@ -29,6 +29,9 @@ public:
        virtual std::string effect_type_id() const { return "DeconvolutionSharpenEffect"; }
        std::string output_fragment_shader();
 
+       // Samples a lot of times from its input.
+       virtual bool needs_texture_bounce() const { return true; }
+
        virtual void inform_input_size(unsigned input_num, unsigned width, unsigned height)
        {
                this->width = width;