Restructured GeometryShader4 according to gl.xml.