Optimize out some clear mode checks.

Since it's really common and the rasterizer is slow for large draws.