Add rasterizer mode switch