So I've read the RTT specs a couple of times but it still leaves me confused. Issue 10, and the usage of CopyTexSubImage is of most concern.
Basically I want to implement this functionality(fragment program):
textureA <= textureA OP textureB OP textureC
The specs clearly states I cant have a texture bound to the pbuffer when rendering to it. First I thought I might use a double buffered pbuffer and bind the texture to one of them, but issue 14 says it's a no no.
So my questions are, can I render to the pbuffer and make a CopyTexSubImage call to copy the contents to textureA, when textureA is a floating point texture? If textureA is bound to the pbuffer at the time of CopyTexSubImage will this mess up everything? Or, should I have another texture, lets say A2, and copy from the pbuffer(bound to A) to A2?
textureA <= textureA2 OP textureB OP textureC
I wanted to see if someone had tried this before, before I start coding.
All help/thoughts greatly appreciated.