Cleanup for geometry shaders