PDA

View Full Version : Array size limit for glslang?



duhroach
01-22-2004, 05:43 AM
I've been looking for the ability to conceptually "move" a pixel, which i've been handling by placing the move coordinates of a pixel onto the screen, reading back and then re-constructing the texture with the moved coordinates. Reason I have to do this, is because the current fragment languages don't support enough array size/constant size to allow me to accuratly modify an array/values to calculate this correctly.

Will glslang be different?
~Main

Corrail
01-22-2004, 07:11 AM
Hello!

I doubt that array as big as a buffer (or a texture) will be supported by any OpenGL implementation in real hardware.
But maybe there will be buffer reads available in fragment shader so you can solve that in this way.