Lets say you had a list of triangles and you want to associate a particular attribute with each triangle. Is it possible to provide per-primitive attributes to the geometry shader, just as you can give per-vertex attributes to the vertex-shader?
Or, could you at least have access to all the attributes of the vertices that make up the primitive?