It has to be a bound texture. Specifically, a 2D array texture.

Each view is rendered to one layer of a 2D array texture. The effect is as if you'd performed exactly the same sequence of rendering...