I have a geometry shader that does some manual culling in order to reduce the number of vertices that it emits. Initial tests indicate that this is indeed a performance win.
However, I just wanted to make sure it’s valid to emit less than the declared max_vertices from a geometry shader.
The reason I ask, is because my NVidia card is rendering the geometry correctly along with a bunch of stray verts. When I disable the variable vertex emission code, everything renders as expected with no stray verts.
On ATI, everything is rendered correctly in either case.
P.S. This may end up needing to be moved into the driver section.