Process clip-in rectangles in the vertex shader, not in the fragment …
shader. 60% improvement in GPU time on Wikipedia.