I don't understand what you mean.
How would you split a layer based on one raster file?