]> git.sesse.net Git - movit/blobdiff - fft_input.h
Bump compute shader header to #version 150.
[movit] / fft_input.h
index b57723cd61a92251bf6a870a6542d585fbf7d28d..472a218a7f892cc7bb1ceccef1726eab811ca4d3 100644 (file)
@@ -48,6 +48,7 @@ public:
        virtual AlphaHandling alpha_handling() const { return INPUT_AND_OUTPUT_PREMULTIPLIED_ALPHA; }
        virtual bool is_single_texture() const { return true; }
        virtual bool can_output_linear_gamma() const { return true; }
+       virtual bool can_supply_mipmaps() const { return false; }
 
        // Tells the input where to fetch the actual pixel data. Note that if you change
        // this data, you must either call set_pixel_data() again (using the same pointer
@@ -74,6 +75,7 @@ private:
        unsigned convolve_width, convolve_height;
        const float *pixel_data;
        ResourcePool *resource_pool;
+       GLint uniform_tex;
 };
 
 }  // namespace movit