title: unknown layout specifier 'triangles'
body: <p>I just started testing around with geometry shaders a bit. I want to draw a triangle for every point. This is my shader:</p>
  
  <pre><code>#version 150
  
  layout (points) in;
  layout(triangles, max_vertices = 3) out;
  
  void main(void)
  {
      gl_Position = gl_in[0].gl_Position + vec4(0, 0, 0, 0);
      EmitVertex();
      gl_Position = gl_in[0].gl_Position + vec4(0.1, 0, 0, 0);
      EmitVertex();
      gl_Position = gl_in[0].gl_Position + vec4(0, 0.1, 0, 0);
      EmitVertex();
      EndPrimitive();
  }
  </code></pre>
  
  <p>This is the error message: </p>
  
  <blockquote>
    <p>error C3008: unknown layout specifier 'triangles'</p>
  </blockquote>
  
  <p>It kind of works when replacing "triangles" with "points", but obviously it's drawing points instead. </p>