Array size limit for glslang?

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?


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.

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.