Suppose there is a frame, which is larger that the device memory (I mean, dozens of Gb). And I would like to render to it from a set of textures, which is larger than the host memory (I mean, dozens to hundreds of Gb). Each texture is rendered to a different part of the frame.
To give more context, I'm baking the texture of a 3D-model, using its several projections.
I see two ways to handle it.
1. Go out of core texture-first, i.e. for each texture perform rendering several times to render each part of the frame.
2. Go out of core frame-first, i.e. for each frame part load every texture and render the frame part, then shift frame part and repeat.
The first way is definitely unfeasible, as PCI throughput is insufficient to load-unload the whole memory of a device for each renderpass.
The second way is much better, but it does not scale with frame dimensions, as it requires loading all the textures from disk and rendering them for each part of the frame.
So, is there any alternative to this I miss?