Make the intermediate render targets select the correct size
e5a3562
dynamically. The render targets need to be >= framebuffer size, to ensure they can allocate worst case render tasks.