You're using std430, not std140. As stated in the last paragraph of 184.108.40.206, 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.
Originally Posted by Alfonse Reinheart
I missed "and of structures in rule 9" part in the last paragraph of 220.127.116.11.
'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 08:19 AM.
Tags for this Thread