Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: Array size limit for glslang?

  1. #1

    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?
    ~Main

  2. #2
    Member Regular Contributor
    Join Date
    Apr 2002
    Location
    Austria
    Posts
    328

    Re: Array size limit for glslang?

    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.
    There is a theory which states that if ever anybody discovers exactly what the Universe is for and why it is here, it will instantly disappear and be replaced by something even more bizarre and inexplicable.

    There is another theory which states that this has already happened...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •