Hi All
I'm using glBegin(End)TransformFeedback API and in geometry shader writting a buffer
out block {
vec4 Color;
} Out;
void main()
{
...
Out.Color = vec4(..);
...
}
If I avoid to use “return” in main, then all is going as expected, the buffer has correct size and filled with data I wrote. However with return in main the buffer size = count of all primitives passed in glDrawElements and all values are 1.0. So my questions are:
- is this a bug or limitation or hidden feature?
- where can I read about it or, better yet, about cases like this one? It would be a pain if happened on remote user's machine I can't debug
Thx