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.
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.
'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.