I have the following code in my application:
#extension GL_EXT_geometry_shader4 : enable
// The code below runs in a loop, which I have omitted here
// The code runs fine with the line below
px = vec4(pt.x / a, pt.y / b, pt.z / c, 1.0);
// The code crashes when I attempt to write data into points
// If I remove this line, there is no crash. I do stay within the bounds of the array.
points[n] = px;
Apparently the points[n] assignment statement makes the driver crash. What is wrong with this line? Is my array too big?
Radeon Mobility HD5470
Windows 7 x64