Lines, curves, shapes and text can be rasterized to create pixel layers. This is only a requirement if the appearance of complex vector gradients or effects need to be honored, particularly for print artwork.
To rasterize a shape, line or text layer:
In the Layers panel, -click a layer and select Rasterize.