Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Search:

Type: Posts; User: eraasha

Search: Search took 0.00 seconds.

  1. Incorrect size value of bvec* in shader storage block

    Hi,
    I am trying to check the values for bool, bvec2, bvec3 and bvec4 from shader storage block. But the value of size for all 4 boolean type is same as 4.
    My compute shader:



    layout(std140)...
  2. Getting wrong results using glShaderStorageBinding

    Hi ,

    I want to use glShaderStorageBinding to bind my buffer in compute shader. I am using 2 buffers , one to write data and one to read data, and binding the buffer objects using...
  3. Hi thokra, Does this mean doing something like...

    Hi thokra,

    Does this mean doing something like :

    struct __attribute__ ((packed)){
    GLuint x, y,z;
    }s;
    struct s obj;

    obj.x=1;
Results 1 to 3 of 3