Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Page 7 of 7 FirstFirst ... 567
Results 61 to 63 of 63

Thread: NVIDIA releases OpenGL 4.3 beta drivers

  1. #61
    Senior Member OpenGL Guru
    Join Date
    May 2009
    Posts
    4,948
    You're using std430, not std140. As stated in the last paragraph of 7.6.2.2, the base alignment of structures is not rounded up to that of a vec4 in std430.

    That's a feature, not a bug.

  2. #62
    Junior Member Regular Contributor
    Join Date
    Mar 2009
    Posts
    152
    Quote Originally Posted by Alfonse Reinheart View Post
    You're using std430, not std140. As stated in the last paragraph of 7.6.2.2, the base alignment of structures is not rounded up to that of a vec4 in std430.

    That's a feature, not a bug.
    Yes, I know that I am using std430.

    I missed "and of structures in rule 9" part in the last paragraph of 7.6.2.2.

    Thanks.

  3. #63
    Junior Member Regular Contributor
    Join Date
    Mar 2009
    Posts
    152
    'shared' keyword is invalid keyword in CS when I use:
    #version 420 core
    #extension GL_ARB_shader_storage_buffer_object : require
    #extension GL_ARB_compute_shader : require

    It works as expected when I use:
    #version 430 core
    Last edited by randall; 10-30-2012 at 07:19 AM.

Tags for this Thread

Posting Permissions

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