So right now, PREV is FIR-based. Having an IIR-model would improve flexibility, but complexity will increase dramatically. I’m considering adding this, but it needs to be very restrictive and optional.
One thing I’m thinking of is an optional FEEDBACK. In cgp/glslp, you can designate a single pass (FBO) which will be fed back into next frame. (FIne for motion blur, etc).
Feeding back multiple passes, and allow feeding back several frames from same pass is ofc possible in theory, but horribly complex and possibly very niche (temporal higher-order IIR, ye, totally batshit :P) A compromise here would be allowing multiple feedback frames, but only from one pass. In that case, it’d be something like PREV now (FEEDBACK, FEEDBACK1, FEEDBACK2, …)