X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=fft_pass_effect.h;h=53428bd8d31a3f82360615a2ec20b0cac3653cd5;hp=7689cf1e60688fb60d1c620baffb6ba1fac1dab9;hb=009c7510df1ac1b70662b0085ebaf1a619dd761a;hpb=60e4852ff1b04c525a9e3f1c98a1017db28b27bd diff --git a/fft_pass_effect.h b/fft_pass_effect.h index 7689cf1..53428bd 100644 --- a/fft_pass_effect.h +++ b/fft_pass_effect.h @@ -50,7 +50,7 @@ // scaling), and as fp16 has quite limited range at times, this can be relevant // on some GPUs for larger sizes. -#include +#include #include #include #include @@ -85,6 +85,7 @@ public: // in our own phase, which is exactly what we want. virtual bool needs_texture_bounce() const { return true; } virtual bool changes_output_size() const { return true; } + virtual bool sets_virtual_output_size() const { return false; } virtual void inform_input_size(unsigned input_num, unsigned width, unsigned height) { @@ -109,6 +110,8 @@ private: EffectChain *chain; int input_width, input_height; GLuint tex; + float uniform_num_repeats; + GLint uniform_support_tex; int fft_size; Direction direction;