Use the Passes parameter under the Common tab of the GLSL TOP to set the number of times the shader has to run, using the output of its previous run as its input.
in your code use the uniform int uTDPass to see in what pass you currently are.(starts at 0 and counts up)
Passes will run the shader multiple times in a single frame (passing the output texture).
What I want is to have a texture that will be continuously passed through the GLSL TOP on each frame. E.g. on each frame I’ll draw a single dot in random place on the same canvas (see my example from above post).
To get older frames the Cache TOP is also handy. Set it to active, cache size to something bigger than 1, and set its output frame to -1 to get the previous frame. It will still give you a cook dependency warning though, but I’d say you can ignore that.