Textures of different resolution as attachments for the renderPassDescriptor

You could assign textures of different resolution as attachments for the renderPassDescriptor but it seems render area is always limited to be the resolution of smallest of all textures.


renderPassDescriptor.colorAttachments[0].texture = _tex_0;

renderPassDescriptor.colorAttachments[1].texture = _tex_1;


_tex_0 and _tex_1 can be in different resolution at initialization but at render time only the portion of the smaller texture get rendered results. RenderEncorder's viewport is set to be the larger of the two texture.