so this approach (as discussed, to use few vertices and generate lines on the fly) seems nice, but ate least on one of our machines this already leads to an incomplete grid. so just as a side note: there should be a pool of vertices that can be used for the grid without the need of a geom shader. this however is not required for this task/pull request ;)