We use the polyline shader for drawing the rotation gizmo now. This shader supports clipping without hardware clip planes.